diff --git a/host/home/default.nix b/host/home/default.nix index 3e85e0f..be75107 100644 --- a/host/home/default.nix +++ b/host/home/default.nix @@ -1,8 +1,12 @@ -{ ... }: { +{ lib, ... }: { imports = [ ./Backup.nix ./Container.nix ./Filesystem.nix ./Network.nix ]; + + # Disable auto-switch. + systemd.services.autoupdate.enable = lib.mkForce false; + systemd.timers.autoupdate.enable = lib.mkForce false; } diff --git a/module/common/AutoUpdateSigned.nix b/module/common/AutoUpdateSigned.nix index 09d5c72..1263489 100644 --- a/module/common/AutoUpdateSigned.nix +++ b/module/common/AutoUpdateSigned.nix @@ -30,6 +30,7 @@ }; systemd.timers.autoupdate = { + enable = true; timerConfig = { OnCalendar = "hourly"; Persistent = true;