summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorKjetil Orbekk <kj@orbekk.com>2021-02-21 11:37:03 -0500
committerKjetil Orbekk <kj@orbekk.com>2021-02-21 11:37:13 -0500
commitaa386865e6fb16f7090b39f0cd771ba709d08c33 (patch)
tree8e63b9267e853e759ec381e4125455167b648560 /config
parent91fca1a89989304539ec419fc87f472005d1a01f (diff)
Use git+file for upgrades on dragon
Diffstat (limited to 'config')
-rw-r--r--config/auto-upgrade.nix7
1 files changed, 3 insertions, 4 deletions
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";
};
}