forked from Drift/pvv-nixos-config
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:
parent
e3c18385b5
commit
57d526f0b2
9
base.nix
9
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" ];
|
||||
|
Loading…
Reference in New Issue
Block a user