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