diff options
Diffstat (limited to 'hosts/sif')
-rw-r--r-- | hosts/sif/default.nix | 17 |
1 files changed, 3 insertions, 14 deletions
diff --git a/hosts/sif/default.nix b/hosts/sif/default.nix index b436542f..ed85ca17 100644 --- a/hosts/sif/default.nix +++ b/hosts/sif/default.nix | |||
@@ -15,7 +15,6 @@ in { | |||
15 | ./email ./libvirt ./greetd | 15 | ./email ./libvirt ./greetd |
16 | tmpfs-root bcachefs initrd-all-crypto-modules default-locale openssh rebuild-machines niri-unstable networkmanager lanzaboote | 16 | tmpfs-root bcachefs initrd-all-crypto-modules default-locale openssh rebuild-machines niri-unstable networkmanager lanzaboote |
17 | flakeInputs.nixos-hardware.nixosModules.lenovo-thinkpad-p1 | 17 | flakeInputs.nixos-hardware.nixosModules.lenovo-thinkpad-p1 |
18 | flakeInputs.impermanence.nixosModules.impermanence | ||
19 | flakeInputs.nixVirt.nixosModules.default | 18 | flakeInputs.nixVirt.nixosModules.default |
20 | ]; | 19 | ]; |
21 | 20 | ||
@@ -63,14 +62,14 @@ in { | |||
63 | kernelPatches = [ | 62 | kernelPatches = [ |
64 | { name = "edac-config"; | 63 | { name = "edac-config"; |
65 | patch = null; | 64 | patch = null; |
66 | extraStructuredConfig = with lib.kernel; { | 65 | structuredExtraConfig = with lib.kernel; { |
67 | EDAC = yes; | 66 | EDAC = yes; |
68 | EDAC_IE31200 = yes; | 67 | EDAC_IE31200 = yes; |
69 | }; | 68 | }; |
70 | } | 69 | } |
71 | { name = "zswap-default"; | 70 | { name = "zswap-default"; |
72 | patch = null; | 71 | patch = null; |
73 | extraStructuredConfig = with lib.kernel; { | 72 | structuredExtraConfig = with lib.kernel; { |
74 | ZSWAP_DEFAULT_ON = yes; | 73 | ZSWAP_DEFAULT_ON = yes; |
75 | ZSWAP_SHRINKER_DEFAULT_ON = yes; | 74 | ZSWAP_SHRINKER_DEFAULT_ON = yes; |
76 | }; | 75 | }; |
@@ -682,19 +681,9 @@ in { | |||
682 | ]; | 681 | ]; |
683 | files = [ | 682 | files = [ |
684 | ]; | 683 | ]; |
684 | timezone = true; | ||
685 | }; | 685 | }; |
686 | 686 | ||
687 | systemd.services.timezone = { | ||
688 | wantedBy = [ "multi-user.target" ]; | ||
689 | serviceConfig = { | ||
690 | Type = "oneshot"; | ||
691 | RemainAfterExit = true; | ||
692 | ExecStart = "${pkgs.coreutils}/bin/cp -vP /.bcachefs/etc/localtime /etc/localtime"; | ||
693 | ExecStop = "${pkgs.coreutils}/bin/cp -vP /etc/localtime /.bcachefs/etc/localtime"; | ||
694 | }; | ||
695 | }; | ||
696 | services.tzupdate.enable = true; | ||
697 | |||
698 | security.pam.services.gtklock = {}; | 687 | security.pam.services.gtklock = {}; |
699 | 688 | ||
700 | home-manager.sharedModules = [ flakeInputs.nixVirt.homeModules.default ]; | 689 | home-manager.sharedModules = [ flakeInputs.nixVirt.homeModules.default ]; |