diff --git a/modules/auto-upgrade.nix b/modules/auto-upgrade.nix index ef3f0db..399b5e2 100644 --- a/modules/auto-upgrade.nix +++ b/modules/auto-upgrade.nix @@ -1,7 +1,9 @@ { pkgs, ... }: { - system.autoUpgrade.enable = true; - system.autoUpgrade.flake = "git:git.newtype.fr/newtype/newtype-org-configurations"; - system.autoUpgrade.flags = [ "--option" "accept-flake-config" "true" ]; + system.autoUpgrade = { + enable = true; + flake = "git+https://git.newtype.fr/newtype/newtype-org-configurations"; + flags = [ "--option" "accept-flake-config" "true" ]; + }; # add a random jitter so not all machines reboot at the same time. systemd.timers.auto-reboot.timerConfig.RandomizedDelaySec = 60 * 20;