Enable auto-update for all systems
This commit is contained in:
parent
1d9bddf1ba
commit
c804d43a59
2 changed files with 12 additions and 12 deletions
|
@ -18,4 +18,15 @@
|
|||
dates = [ "weekly" ];
|
||||
};
|
||||
};
|
||||
system.autoUpgrade = {
|
||||
enable = true;
|
||||
allowReboot = true;
|
||||
flake = "github:DarkKirb/nixos-config";
|
||||
flags = [
|
||||
"--recreate-lock-file"
|
||||
"--no-write-lock-file"
|
||||
"-L" # print build logs
|
||||
];
|
||||
dates = "daily";
|
||||
};
|
||||
}
|
||||
|
|
|
@ -1,13 +1,2 @@
|
|||
# Configuration unique to servers
|
||||
{ ... }: {
|
||||
system.autoUpgrade = {
|
||||
enable = true;
|
||||
flake = "github:DarkKirb/nixos-config";
|
||||
flags = [
|
||||
"--recreate-lock-file"
|
||||
"--no-write-lock-file"
|
||||
"-L" # print build logs
|
||||
];
|
||||
dates = "daily";
|
||||
};
|
||||
}
|
||||
{ ... }: { }
|
||||
|
|
Loading…
Reference in a new issue