From 57d526f0b26e18967ebac25d5d3e435b248f12a7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20L=C3=B8vbr=C3=B8tte=20Olsen?= Date: Fri, 9 Dec 2022 02:55:18 +0100 Subject: [PATCH] base: fix autoUpgrade autoupgrade now pulls from the remote git repo but overrides the nixpkgs input with a newer version --- base.nix | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/base.nix b/base.nix index 4b98ce7..e879f2d 100644 --- a/base.nix +++ b/base.nix @@ -16,7 +16,14 @@ keyMap = "no"; }; - system.autoUpgrade.enable = true; + system.autoUpgrade = { + enable = true; + flake = "git+https://git.pvv.ntnu.no/Drift/pvv-nixos-config.git?ref=main"; + flags = [ + "--update-input" "nixpkgs" + "--no-write-lock-file" + ]; + }; nix.gc.automatic = true; nix.settings.experimental-features = [ "nix-command" "flakes" ];