set autoUpgrade to update nixpkgs when rebuilding
This commit is contained in:
parent
3e3e6d96b0
commit
f7306efa47
|
@ -136,7 +136,12 @@
|
|||
autoUpgrade = {
|
||||
enable = true;
|
||||
flake = "git+${flakeURL}";
|
||||
dates = "02:30";
|
||||
flags = [
|
||||
"--update-input"
|
||||
"nixpkgs"
|
||||
"-L" # print build logs
|
||||
];
|
||||
dates = "02:00";
|
||||
};
|
||||
};
|
||||
networking = {
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
{...}: {
|
||||
users.mutableUsers = false;
|
||||
system.autoUpgrade = {
|
||||
randomizedDelaySec = "15min";
|
||||
allowReboot = true;
|
||||
rebootWindow = {
|
||||
lower = "02:00";
|
||||
|
|
Loading…
Reference in a new issue