feat(luna): enable system auto upgrades at 5AM
This commit is contained in:
parent
ab0ae86a24
commit
270c24e9f5
@ -9,5 +9,6 @@
|
||||
./networking.nix
|
||||
./programs.nix
|
||||
./user.nix
|
||||
./system.nix
|
||||
];
|
||||
}
|
||||
|
17
hosts/luna/modules/system.nix
Normal file
17
hosts/luna/modules/system.nix
Normal file
@ -0,0 +1,17 @@
|
||||
{ self, ... }:
|
||||
|
||||
{
|
||||
system = {
|
||||
autoUpgrade = {
|
||||
enable = true;
|
||||
dates = "05:00";
|
||||
allowReboot = true;
|
||||
flake = self.outPath;
|
||||
flags = [
|
||||
"--update-input"
|
||||
"nixpkgs"
|
||||
"-L"
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user