added autoupdate

This commit is contained in:
willifan 2024-07-06 23:09:27 +02:00
parent 62493285d2
commit fe70a62430
2 changed files with 14 additions and 0 deletions

View file

@ -0,0 +1,11 @@
{ pkgs, ... }:
{
system.autoUpgrade = {
enable = true;
dates = "04:00";
flake = "https://git.huwe.mooo.com/willifan/nix-config.git";
persistent = true;
randomizedDelaySec = "5min";
fixedRandomDelay = true;
};
}

View file

@ -1,4 +1,7 @@
{ pkgs, ... }:
{
imports = [
./autoupdate.nix
];
system.stateVersion = "23.11";
}