-
Notifications
You must be signed in to change notification settings - Fork 0
/
configuration.nix
701 lines (610 loc) · 19.3 KB
/
configuration.nix
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
# Edit this configuration file to define what should be installed on
# your system. Help is available in the configuration.nix(5) man page
# and in the NixOS manual (accessible by running ‘nixos-help’).
let secrets = import /etc/nixos/secrets.nix; in
{ config, pkgs, ... }:
{
nix.settings = {
auto-optimise-store = true;
experimental-features = [ "nix-command" "flakes" ];
};
imports =
[ # Include the results of the hardware scan.
./hardware-configuration.nix
<home-manager/nixos>
];
# Bootloader.
boot.loader.systemd-boot.enable = true;
boot.loader.systemd-boot.editor = false;
boot.loader.efi.canTouchEfiVariables = true;
boot.kernelPackages = pkgs.linuxPackages_latest;
boot.initrd.kernelModules = [
"amdgpu"
"lm92"
"nct6775"
];
boot.kernelParams = [
"video=DP-1:1920x1080@60"
"video=DP-2:1920x1080@60"
];
boot.kernel.sysctl = {
"fs.inotify.max_user_watches" = 65536;
};
networking.hostName = "oxygen"; # Define your hostname.
# networking.wireless.enable = true; # Enables wireless support via wpa_supplicant.
# Configure network proxy if necessary
# networking.proxy.default = "http://user:password@proxy:port/";
# networking.proxy.noProxy = "127.0.0.1,localhost,internal.domain";
# Enable networking
networking.networkmanager.enable = true;
# The global useDHCP flag is deprecated, therefore explicitly set to false here.
# Per-interface useDHCP will be mandatory in the future, so this generated config
# replicates the default behaviour.
networking.useDHCP = false;
networking.interfaces.wlp4s0.useDHCP = true;
hardware.bluetooth.enable = true;
# Set your time zone.
time.timeZone = "America/Toronto";
console = {
font = "Lat2-Terminus16";
keyMap = "us";
};
# Select internationalisation properties.
i18n.defaultLocale = "en_CA.UTF-8";
i18n.extraLocaleSettings = {
LC_ADDRESS = "en_CA.UTF-8";
LC_IDENTIFICATION = "en_CA.UTF-8";
LC_MEASUREMENT = "en_CA.UTF-8";
LC_MONETARY = "en_CA.UTF-8";
LC_NAME = "en_CA.UTF-8";
LC_NUMERIC = "en_CA.UTF-8";
LC_PAPER = "en_CA.UTF-8";
LC_TELEPHONE = "en_CA.UTF-8";
LC_TIME = "en_CA.UTF-8";
};
i18n.inputMethod = {
enabled = "fcitx5";
fcitx5.addons = with pkgs; [
fcitx5-gtk
fcitx5-mozc
];
};
# Configure keymap in X11
services.xserver.xkb = {
layout = "us";
variant = "";
};
fonts = {
enableDefaultPackages = true;
packages = with pkgs; [
cantarell-fonts
nerd-fonts-noto
noto-fonts
noto-fonts-cjk-sans
noto-fonts-emoji
noto-fonts-extra
roboto
];
};
users.mutableUsers = false;
users.defaultUserShell = pkgs.zsh;
users.users.root.hashedPassword = secrets.users.root.hashedPassword;
# Define a user account. Don't forget to set a password with ‘passwd’.
users.users.william = {
uid = 1000;
isNormalUser = true;
description = "William Hua";
hashedPassword = secrets.users.william.hashedPassword;
extraGroups = [
"adbusers"
"docker"
"kvm"
"libvirtd"
"networkmanager"
"sway"
"video"
"wheel"
];
packages = with pkgs; [];
};
home-manager.users.william = let mozilla = import (builtins.fetchGit {
url = "https://github.com/mozilla/nixpkgs-mozilla.git";
ref = "master";
}); in { pkgs, ... }: {
nixpkgs.overlays = [
mozilla
(self: super: {
latest.rustChannels.stable.rust = super.latest.rustChannels.stable.rust.override {
targets = [
"wasm32-unknown-unknown"
];
extensions = [
"clippy-preview"
"rust-src"
"rustfmt-preview"
];
};
})
];
programs.home-manager.enable = true;
services.syncthing.enable = true;
programs.neovim.enable = true;
programs.neovim.viAlias = true;
programs.neovim.vimAlias = true;
programs.neovim.plugins = with pkgs.vimPlugins; [
cmp-buffer
cmp-nvim-lsp
cmp-nvim-lsp-signature-help
cmp-path
cmp_luasnip
fzf-vim
gitgutter
luasnip
nvim-cmp
nvim-lspconfig
nvim-treesitter.withAllGrammars
rust-vim
telescope-nvim
tokyonight-nvim
typescript-vim
vimwiki
];
programs.git.enable = true;
programs.git.userName = "William Hua";
programs.git.userEmail = "[email protected]";
programs.git.extraConfig = {
pull = {
rebase = true;
};
push = {
useForceIfIncludes = true;
};
merge = {
autoStash = true;
conflictStyle = "zdiff3";
tool = "nvimdiff";
};
rebase = {
autoSquash = true;
autoStash = true;
};
advice = {
skippedCherryPicks = false;
};
url = {
"ssh://[email protected]/0xsequence" = {
insteadOf = "https://github.com/0xsequence";
};
"ssh://[email protected]/horizon-games" = {
insteadOf = "https://github.com/horizon-games";
};
};
};
programs.git.delta.enable = true;
programs.git.lfs.enable = true;
programs.fzf.enable = true;
programs.fzf.enableZshIntegration = true;
programs.fzf.defaultCommand = "fd -L 2>/dev/null";
programs.fzf.changeDirWidgetCommand = "fd -L -t d 2>/dev/null";
programs.fzf.fileWidgetCommand = "fd -L -t f -t l 2>/dev/null";
home.packages = with pkgs; [
alacritty
ansifilter
bandwhich
baobab
bat
binaryen
bottom
bubblewrap
bun
corepack
d-spy
docker-compose
du-dust
dunst
eog
evince
eww
fd
fdupes
file
firefox
gitg
glib
gnumake
gnupg
go
(google-cloud-sdk.withExtraComponents [google-cloud-sdk.components.gke-gcloud-auth-plugin])
gopls
imagemagick
inkscape
inotify-tools
jq
keepassxc
latest.rustChannels.stable.rust
lazydocker
ldns
libreoffice
lldb
lm_sensors
lsd
man-pages
mercurial
nautilus
nix-index
nodePackages_latest.typescript-language-server
nodejs_latest
openssl
pavucontrol
pkg-config
plasma5Packages.kdeconnect-kde
poppler_utils
postgresql
procs
pulseaudio
python3
rclone
ripgrep
sd
shellcheck
sqlite
swww
tealdeer
tmate
tree
tree-sitter
ungoogled-chromium
unzip
vlc
vscodium
wabt
weechat
wget
wireshark
xdg-utils
(yarn.override {
nodejs = nodejs_latest;
})
zip
];
home.pointerCursor = {
package = pkgs.adwaita-icon-theme;
name = "Adwaita";
size = 64;
gtk.enable = true;
};
xdg.desktopEntries = {
youtube-music = {
name = "YouTube Music";
exec = "chromium --enable-features=UseOzonePlatform --ozone-platform=wayland --user-data-dir=/home/william/.config/youtube-music --app=https://music.youtube.com";
};
};
home.stateVersion = "23.11";
};
# users.extraUsers.guest = {
# isNormalUser = true;
# uid = 1000;
# };
# List packages installed in system profile. To search, run:
# $ nix search wget
environment.systemPackages = with pkgs; [
# vim # Do not forget to add an editor to edit configuration.nix! The Nano editor is also installed by default.
# wget
neovim
];
environment.shellAliases = {
nix-shell = "nix-shell --command zsh";
vi = "nvim";
};
environment.shellInit = ''
export EDITOR=nvim
export VISUAL=nvim
'';
# Some programs need SUID wrappers, can be configured further or are
# started in user sessions.
# programs.bash.enableCompletion = true;
# programs.mtr.enable = true;
# programs.gnupg.agent = {
# enable = true;
# enableSSHSupport = true;
# };
programs.zsh = {
enable = true;
enableCompletion = true;
autosuggestions.enable = true;
syntaxHighlighting.enable = true;
shellInit = "DISABLE_MAGIC_FUNCTIONS=true";
ohMyZsh = {
enable = true;
theme = "robbyrussell";
};
};
programs.sway = {
enable = true;
extraPackages = with pkgs; [
grim
qt5.qtwayland
(redshift.overrideAttrs (oldAttrs: {
src = fetchFromGitHub {
owner = "minus7";
repo = "redshift";
rev = "7da875d34854a6a34612d5ce4bd8718c32bec804";
sha256 = "0nbkcw3avmzjg1jr1g9yfpm80kzisy55idl09b6wvzv2sz27n957";
fetchSubmodules = true;
};
}))
slurp
swaybg
swayidle
swaylock
(waybar.override {
pulseSupport = true;
})
wf-recorder
wl-clipboard
wofi
xwayland
];
extraSessionCommands = ''
export XDG_CURRENT_DESKTOP=sway
export XDG_SESSION_TYPE=wayland
export GDK_BACKEND=wayland
export QT_QPA_PLATFORM=wayland
'';
};
programs.hyprland.enable = true;
programs.ssh.startAgent = true;
programs.light.enable = true;
programs.adb.enable = true;
programs.virt-manager.enable = true;
# List services that you want to enable:
services.tlp = {
enable = true;
settings = {
CPU_SCALING_GOVERNOR_ON_AC = "powersave";
CPU_SCALING_GOVERNOR_ON_BAT = "powersave";
START_CHARGE_THRESH_BAT0 = 40;
STOP_CHARGE_THRESH_BAT0 = 50;
};
};
services.fwupd.enable = true;
services.logind.extraConfig = ''
RuntimeDirectoryInodesMax=1000000000
RuntimeDirectorySize=25%
'';
services.avahi = {
enable = true;
nssmdns4 = true;
publish = {
enable = true;
userServices = true;
addresses = true;
domain = true;
};
};
# Enable the OpenSSH daemon.
services.openssh.enable = true;
services.openssh.settings = {
PasswordAuthentication = false;
};
# Open ports in the firewall.
# networking.firewall.allowedTCPPorts = [ ... ];
# networking.firewall.allowedUDPPorts = [ ... ];
# Or disable the firewall altogether.
# networking.firewall.enable = false;
# Enable CUPS to print documents.
# services.printing.enable = true;
# Enable sound.
# sound.enable = true;
# hardware.pulseaudio.enable = true;
services.pipewire = {
enable = true;
pulse.enable = true;
};
# Enable the X11 windowing system.
# services.xserver.enable = true;
# services.xserver.layout = "us";
# services.xserver.xkbOptions = "eurosign:e";
# Enable touchpad support.
# services.xserver.libinput.enable = true;
# Enable the KDE Desktop Environment.
# services.xserver.displayManager.sddm.enable = true;
# services.xserver.desktopManager.plasma5.enable = true;
services.gvfs.enable = true;
services.pcscd.enable = true;
services.openvpn.servers = {
canada = {
autoStart = false;
updateResolvConf = true;
config = ''
# ==============================================================================
# Copyright (c) 2016-2020 Proton Technologies AG (Switzerland)
# Email: [email protected]
#
# The MIT License (MIT)
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included in all
# copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR # OTHERWISE, ARISING
# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
# IN THE SOFTWARE.
# ==============================================================================
# If you are a paying user you can also enable the ProtonVPN ad blocker (NetShield) or Moderate NAT:
# Use: "v4vP8JZKxL4OXJMjcFISwwaj+f1" as username to enable anti-malware filtering
# Use: "v4vP8JZKxL4OXJMjcFISwwaj+f2" as username to additionally enable ad-blocking filtering
# Use: "v4vP8JZKxL4OXJMjcFISwwaj+nr" as username to enable Moderate NAT
# Note that you can combine the "+nr" suffix with other suffixes.
client
dev tun
proto udp
remote 169.150.204.44 5060
remote 178.249.214.65 80
remote 169.150.204.44 80
remote 169.150.204.44 1194
remote 37.120.237.178 51820
remote 37.120.205.82 51820
remote 172.83.40.66 80
remote 172.83.40.66 4569
remote 66.115.146.162 51820
remote 178.249.214.65 5060
remote 37.120.237.178 1194
remote 86.106.90.98 1194
remote 86.106.90.98 80
remote 178.249.214.65 51820
remote 37.120.205.82 1194
remote 66.115.146.162 80
remote 86.106.90.98 51820
remote 37.120.237.170 5060
remote 37.120.237.170 4569
remote 66.115.146.162 5060
remote 169.150.204.44 5060
remote 37.120.205.82 5060
remote 66.115.146.162 51820
remote 178.249.214.65 1194
remote 178.249.214.65 80
remote 172.83.40.66 1194
remote 169.150.204.44 51820
remote 178.249.214.65 4569
remote 178.249.214.65 4569
remote 37.120.205.82 4569
remote 66.115.146.162 1194
remote 37.120.237.170 80
remote 66.115.146.162 4569
remote 169.150.204.44 80
remote 169.150.204.44 4569
remote 169.150.204.44 1194
remote 178.249.214.65 51820
remote 66.115.146.162 4569
remote 178.249.214.65 5060
remote 86.106.90.98 5060
remote 66.115.146.162 80
remote 37.120.237.178 5060
remote 37.120.237.170 1194
remote 178.249.214.65 80
remote 66.115.146.162 1194
remote 178.249.214.65 4569
remote 172.83.40.66 51820
remote 37.120.237.178 4569
remote 178.249.214.65 5060
remote 178.249.214.65 1194
remote 37.120.205.82 80
remote 169.150.204.44 51820
remote 169.150.204.44 4569
remote 178.249.214.65 51820
remote 66.115.146.162 5060
remote 178.249.214.65 1194
remote 37.120.237.178 80
remote 172.83.40.66 5060
remote 86.106.90.98 4569
remote 37.120.237.170 51820
server-poll-timeout 20
remote-random
resolv-retry infinite
nobind
# The following setting is only needed for old OpenVPN clients compatibility. New clients
# automatically negotiate the optimal cipher.
cipher AES-256-CBC
auth SHA512
verb 3
setenv CLIENT_CERT 0
tun-mtu 1500
tun-mtu-extra 32
mssfix 1450
persist-key
persist-tun
reneg-sec 0
remote-cert-tls server
auth-user-pass
pull
fast-io
script-security 2
# up /etc/openvpn/update-resolv-conf
# down /etc/openvpn/update-resolv-conf
<ca>
-----BEGIN CERTIFICATE-----
MIIFozCCA4ugAwIBAgIBATANBgkqhkiG9w0BAQ0FADBAMQswCQYDVQQGEwJDSDEV
MBMGA1UEChMMUHJvdG9uVlBOIEFHMRowGAYDVQQDExFQcm90b25WUE4gUm9vdCBD
QTAeFw0xNzAyMTUxNDM4MDBaFw0yNzAyMTUxNDM4MDBaMEAxCzAJBgNVBAYTAkNI
MRUwEwYDVQQKEwxQcm90b25WUE4gQUcxGjAYBgNVBAMTEVByb3RvblZQTiBSb290
IENBMIICIjANBgkqhkiG9w0BAQEFAAOCAg8AMIICCgKCAgEAt+BsSsZg7+AuqTq7
vDbPzfygtl9f8fLJqO4amsyOXlI7pquL5IsEZhpWyJIIvYybqS4s1/T7BbvHPLVE
wlrq8A5DBIXcfuXrBbKoYkmpICGc2u1KYVGOZ9A+PH9z4Tr6OXFfXRnsbZToie8t
2Xjv/dZDdUDAqeW89I/mXg3k5x08m2nfGCQDm4gCanN1r5MT7ge56z0MkY3FFGCO
qRwspIEUzu1ZqGSTkG1eQiOYIrdOF5cc7n2APyvBIcfvp/W3cpTOEmEBJ7/14RnX
nHo0fcx61Inx/6ZxzKkW8BMdGGQF3tF6u2M0FjVN0lLH9S0ul1TgoOS56yEJ34hr
JSRTqHuar3t/xdCbKFZjyXFZFNsXVvgJu34CNLrHHTGJj9jiUfFnxWQYMo9UNUd4
a3PPG1HnbG7LAjlvj5JlJ5aqO5gshdnqb9uIQeR2CdzcCJgklwRGCyDT1pm7eoiv
WV19YBd81vKulLzgPavu3kRRe83yl29It2hwQ9FMs5w6ZV/X6ciTKo3etkX9nBD9
ZzJPsGQsBUy7CzO1jK4W01+u3ItmQS+1s4xtcFxdFY8o/q1zoqBlxpe5MQIWN6Qa
lryiET74gMHE/S5WrPlsq/gehxsdgc6GDUXG4dk8vn6OUMa6wb5wRO3VXGEc67IY
m4mDFTYiPvLaFOxtndlUWuCruKcCAwEAAaOBpzCBpDAMBgNVHRMEBTADAQH/MB0G
A1UdDgQWBBSDkIaYhLVZTwyLNTetNB2qV0gkVDBoBgNVHSMEYTBfgBSDkIaYhLVZ
TwyLNTetNB2qV0gkVKFEpEIwQDELMAkGA1UEBhMCQ0gxFTATBgNVBAoTDFByb3Rv
blZQTiBBRzEaMBgGA1UEAxMRUHJvdG9uVlBOIFJvb3QgQ0GCAQEwCwYDVR0PBAQD
AgEGMA0GCSqGSIb3DQEBDQUAA4ICAQCYr7LpvnfZXBCxVIVc2ea1fjxQ6vkTj0zM
htFs3qfeXpMRf+g1NAh4vv1UIwLsczilMt87SjpJ25pZPyS3O+/VlI9ceZMvtGXd
MGfXhTDp//zRoL1cbzSHee9tQlmEm1tKFxB0wfWd/inGRjZxpJCTQh8oc7CTziHZ
ufS+Jkfpc4Rasr31fl7mHhJahF1j/ka/OOWmFbiHBNjzmNWPQInJm+0ygFqij5qs
51OEvubR8yh5Mdq4TNuWhFuTxpqoJ87VKaSOx/Aefca44Etwcj4gHb7LThidw/ky
zysZiWjyrbfX/31RX7QanKiMk2RDtgZaWi/lMfsl5O+6E2lJ1vo4xv9pW8225B5X
eAeXHCfjV/vrrCFqeCprNF6a3Tn/LX6VNy3jbeC+167QagBOaoDA01XPOx7Odhsb
Gd7cJ5VkgyycZgLnT9zrChgwjx59JQosFEG1DsaAgHfpEl/N3YPJh68N7fwN41Cj
zsk39v6iZdfuet/sP7oiP5/gLmA/CIPNhdIYxaojbLjFPkftVjVPn49RqwqzJJPR
N8BOyb94yhQ7KO4F3IcLT/y/dsWitY0ZH4lCnAVV/v2YjWAWS3OWyC8BFx/Jmc3W
DK/yPwECUcPgHIeXiRjHnJt0Zcm23O2Q3RphpU+1SO3XixsXpOVOYP6rJIXW9bMZ
A1gTTlpi7A==
-----END CERTIFICATE-----
</ca>
key-direction 1
<tls-auth>
# 2048 bit OpenVPN static key
-----BEGIN OpenVPN Static key V1-----
6acef03f62675b4b1bbd03e53b187727
423cea742242106cb2916a8a4c829756
3d22c7e5cef430b1103c6f66eb1fc5b3
75a672f158e2e2e936c3faa48b035a6d
e17beaac23b5f03b10b868d53d03521d
8ba115059da777a60cbfd7b2c9c57472
78a15b8f6e68a3ef7fd583ec9f398c8b
d4735dab40cbd1e3c62a822e97489186
c30a0b48c7c38ea32ceb056d3fa5a710
e10ccc7a0ddb363b08c3d2777a3395e1
0c0b6080f56309192ab5aacd4b45f55d
a61fc77af39bd81a19218a79762c3386
2df55785075f37d8c71dc8a42097ee43
344739a0dd48d03025b0450cf1fb5e8c
aeb893d9a96d1f15519bb3c4dcb40ee3
16672ea16c012664f8a9f11255518deb
-----END OpenVPN Static key V1-----
</tls-auth>
'';
authUserPass = {
inherit (secrets.vpn) username password;
};
};
};
services.flatpak.enable = true;
virtualisation = {
docker.enable = true;
libvirtd.enable = true;
};
# This value determines the NixOS release from which the default
# settings for stateful data, like file locations and database versions
# on your system were taken. It‘s perfectly fine and recommended to leave
# this value at the release version of the first install of this system.
# Before changing this value read the documentation for this option
# (e.g. man configuration.nix or on https://nixos.org/nixos/options.html).
system.stateVersion = "23.11"; # Did you read the comment?
}