From aa386865e6fb16f7090b39f0cd771ba709d08c33 Mon Sep 17 00:00:00 2001 From: Kjetil Orbekk Date: Sun, 21 Feb 2021 11:37:03 -0500 Subject: Use git+file for upgrades on dragon --- config/auto-upgrade.nix | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'config') diff --git a/config/auto-upgrade.nix b/config/auto-upgrade.nix index ce1c83a..ad8de9a 100644 --- a/config/auto-upgrade.nix +++ b/config/auto-upgrade.nix @@ -4,10 +4,9 @@ enable = true; dates = "weekly"; flake = - ## git+file doesn't work with bare repos :( - #if config.networking.hostName == "dragon" then - # "git+file:///storage/projects/nixos-config.git" - #else + if config.networking.hostName == "dragon" then + "git+file:///storage/projects/nixos-config.git" + else "git+https://git.orbekk.com/nixos-config.git"; }; } -- cgit v1.2.3