summaryrefslogtreecommitdiff
path: root/hosts/sif/default.nix
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2024-08-22 14:48:24 +0200
committerGregor Kleen <gkleen@yggdrasil.li>2024-08-22 14:48:24 +0200
commit567c22812fe1fbe525f1732661d253b3902710a9 (patch)
treeb78ce8007f265ed9d542f7992beca14a12327dec /hosts/sif/default.nix
parentd88404d51a6acd082e9917467862105ff1266367 (diff)
downloadnixos-567c22812fe1fbe525f1732661d253b3902710a9.tar
nixos-567c22812fe1fbe525f1732661d253b3902710a9.tar.gz
nixos-567c22812fe1fbe525f1732661d253b3902710a9.tar.bz2
nixos-567c22812fe1fbe525f1732661d253b3902710a9.tar.xz
nixos-567c22812fe1fbe525f1732661d253b3902710a9.zip
...
Diffstat (limited to 'hosts/sif/default.nix')
-rw-r--r--hosts/sif/default.nix9
1 files changed, 4 insertions, 5 deletions
diff --git a/hosts/sif/default.nix b/hosts/sif/default.nix
index e3becb4b..d2902f95 100644
--- a/hosts/sif/default.nix
+++ b/hosts/sif/default.nix
@@ -12,11 +12,12 @@ let
12in { 12in {
13 imports = with flake.nixosModules.systemProfiles; [ 13 imports = with flake.nixosModules.systemProfiles; [
14 ./hw.nix 14 ./hw.nix
15 ./mail 15 ./mail ./libvirt
16 tmpfs-root bcachefs initrd-all-crypto-modules default-locale openssh rebuild-machines 16 tmpfs-root bcachefs initrd-all-crypto-modules default-locale openssh rebuild-machines
17 networkmanager 17 networkmanager
18 flakeInputs.nixos-hardware.nixosModules.lenovo-thinkpad-p1 18 flakeInputs.nixos-hardware.nixosModules.lenovo-thinkpad-p1
19 flakeInputs.impermanence.nixosModules.impermanence 19 flakeInputs.impermanence.nixosModules.impermanence
20 flakeInputs.nixVirt.nixosModules.default
20 ]; 21 ];
21 22
22 config = { 23 config = {
@@ -627,10 +628,6 @@ in {
627 dconf.enable = true; 628 dconf.enable = true;
628 }; 629 };
629 630
630 virtualisation.libvirtd = {
631 enable = true;
632 };
633
634 zramSwap = { 631 zramSwap = {
635 enable = true; 632 enable = true;
636 algorithm = "zstd"; 633 algorithm = "zstd";
@@ -704,6 +701,8 @@ in {
704 701
705 security.pam.services.gtklock = {}; 702 security.pam.services.gtklock = {};
706 703
704 home-manager.sharedModules = [ flakeInputs.nixVirt.homeModules.default ];
705
707 system.stateVersion = "24.11"; 706 system.stateVersion = "24.11";
708 }; 707 };
709} 708}