From 218ac55d86ee49d151c0ba2dfbca6da104c66703 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Mon, 25 Aug 2025 14:19:52 +0200 Subject: ... --- hosts/sif/default.nix | 17 +++-------------- 1 file changed, 3 insertions(+), 14 deletions(-) (limited to 'hosts/sif') 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 { ./email ./libvirt ./greetd tmpfs-root bcachefs initrd-all-crypto-modules default-locale openssh rebuild-machines niri-unstable networkmanager lanzaboote flakeInputs.nixos-hardware.nixosModules.lenovo-thinkpad-p1 - flakeInputs.impermanence.nixosModules.impermanence flakeInputs.nixVirt.nixosModules.default ]; @@ -63,14 +62,14 @@ in { kernelPatches = [ { name = "edac-config"; patch = null; - extraStructuredConfig = with lib.kernel; { + structuredExtraConfig = with lib.kernel; { EDAC = yes; EDAC_IE31200 = yes; }; } { name = "zswap-default"; patch = null; - extraStructuredConfig = with lib.kernel; { + structuredExtraConfig = with lib.kernel; { ZSWAP_DEFAULT_ON = yes; ZSWAP_SHRINKER_DEFAULT_ON = yes; }; @@ -682,19 +681,9 @@ in { ]; files = [ ]; + timezone = true; }; - systemd.services.timezone = { - wantedBy = [ "multi-user.target" ]; - serviceConfig = { - Type = "oneshot"; - RemainAfterExit = true; - ExecStart = "${pkgs.coreutils}/bin/cp -vP /.bcachefs/etc/localtime /etc/localtime"; - ExecStop = "${pkgs.coreutils}/bin/cp -vP /etc/localtime /.bcachefs/etc/localtime"; - }; - }; - services.tzupdate.enable = true; - security.pam.services.gtklock = {}; home-manager.sharedModules = [ flakeInputs.nixVirt.homeModules.default ]; -- cgit v1.2.3