mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-22 06:33:56 -05:00
switch to latest generation on autoupgrade (#29)
* hosts/common: switch on autoupgrade * hosts/common: adjust upgrade times * format fix * flake: update to latest nixhw * hosts/common: set explicitly to persistent
This commit is contained in:
parent
b6b231df2f
commit
0353e44e1f
|
@ -318,11 +318,11 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1720619751,
|
"lastModified": 1720994659,
|
||||||
"narHash": "sha256-A6/7nXOW0UsrFu/IYqVmTMdkm5UjFJUDB4xpJvM5UvQ=",
|
"narHash": "sha256-nN7sFe3tHG0xget7YYEErCx+kg4PqOnPAe8p8Pqg+ms=",
|
||||||
"owner": "alyraffauf",
|
"owner": "alyraffauf",
|
||||||
"repo": "nixhw",
|
"repo": "nixhw",
|
||||||
"rev": "5b22cdd5f53c88b98dc993c8d4578182aef8877f",
|
"rev": "d308ee6dfb9a46ab75b0e725b636f2c2846fc607",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
|
@ -159,15 +159,17 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
system.autoUpgrade = {
|
system.autoUpgrade = {
|
||||||
allowReboot = true;
|
|
||||||
dates = "04:00";
|
|
||||||
randomizedDelaySec = "20min";
|
|
||||||
enable = true;
|
enable = true;
|
||||||
|
allowReboot = true;
|
||||||
|
dates = "02:00";
|
||||||
flake = "github:alyraffauf/nixcfg";
|
flake = "github:alyraffauf/nixcfg";
|
||||||
operation = "boot";
|
operation = "switch";
|
||||||
|
persistent = true;
|
||||||
|
randomizedDelaySec = "30min";
|
||||||
|
|
||||||
rebootWindow = {
|
rebootWindow = {
|
||||||
lower = "02:00";
|
lower = "04:00";
|
||||||
upper = "05:00";
|
upper = "06:00";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue