update
This commit is contained in:
parent
bed26a204c
commit
5eb1f51f63
|
@ -12,5 +12,6 @@
|
|||
./syncthing
|
||||
./gpg
|
||||
./appimage
|
||||
./update
|
||||
];
|
||||
}
|
||||
|
|
17
modules/update/default.nix
Normal file
17
modules/update/default.nix
Normal file
|
@ -0,0 +1,17 @@
|
|||
{ ... }:
|
||||
|
||||
{
|
||||
|
||||
system.autoUpgrade = {
|
||||
enable = true;
|
||||
flake = inputs.self.outPath;
|
||||
flags = [
|
||||
"--update-input"
|
||||
"nixpkgs"
|
||||
"-L" # print build logs
|
||||
];
|
||||
dates = "02:00";
|
||||
randomizedDelaySec = "45min";
|
||||
};
|
||||
|
||||
}
|
Loading…
Reference in a new issue