Add reset of inputs to autoUpgrade flags
This commit is contained in:
parent
2294646f61
commit
2d3512483a
1 changed files with 13 additions and 8 deletions
|
@ -20,17 +20,22 @@ in {
|
|||
config.allowUnfree = true;
|
||||
};
|
||||
|
||||
system.autoUpgrade = {
|
||||
system.autoUpgrade = let
|
||||
manualInputs = inputs: ["--update-input"] ++ lib.intersperse "--update-input" inputs;
|
||||
in {
|
||||
enable = true;
|
||||
allowReboot = true;
|
||||
flake = "/etc/nixos";
|
||||
flags = [
|
||||
"--update-input"
|
||||
"nixpkgs"
|
||||
"--update-input"
|
||||
"nix-minecraft"
|
||||
"--commit-lock-file"
|
||||
];
|
||||
flags =
|
||||
[
|
||||
"--commit-lock-file"
|
||||
]
|
||||
++ manualInputs [
|
||||
"nixpkgs"
|
||||
"nix-minecraft"
|
||||
"lastfm-status"
|
||||
"catnip-website"
|
||||
];
|
||||
};
|
||||
|
||||
nix = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue