From 3f55f00d58e8b70a712214684bf5daab079b70ef Mon Sep 17 00:00:00 2001 From: Tom Hubrecht Date: Mon, 20 Nov 2023 10:16:44 +0100 Subject: [PATCH] fix(system.autoUpgrade): Use correct URI --- modules/auto-upgrade.nix | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) 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;