base: fix autoUpgrade

autoupgrade now pulls from the remote git repo
but overrides the nixpkgs input with a newer version
This commit is contained in:
Daniel Lovbrotte Olsen 2022-12-09 02:55:18 +01:00 committed by System administrator
parent e3c18385b5
commit 57d526f0b2
1 changed files with 8 additions and 1 deletions

View File

@ -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" ];