feat(luna): enable system auto upgrades at 5AM

This commit is contained in:
Price Hiller 2023-12-03 02:30:39 -06:00
parent ab0ae86a24
commit 270c24e9f5
Signed by: Price
SSH Key Fingerprint: SHA256:Y4S9ZzYphRn1W1kbJerJFO6GGsfu9O70VaBSxJO7dF8
2 changed files with 18 additions and 0 deletions

View File

@ -9,5 +9,6 @@
./networking.nix
./programs.nix
./user.nix
./system.nix
];
}

View File

@ -0,0 +1,17 @@
{ self, ... }:
{
system = {
autoUpgrade = {
enable = true;
dates = "05:00";
allowReboot = true;
flake = self.outPath;
flags = [
"--update-input"
"nixpkgs"
"-L"
];
};
};
}