Enable automatic upgrade

This commit is contained in:
Felix Wittwer 2021-11-17 14:29:20 +01:00
parent bb44e040af
commit c93fa389b1
Signed by: wittwer
GPG key ID: 24363525EA0E8A99
2 changed files with 11 additions and 0 deletions

View file

@ -12,6 +12,7 @@
<modules/base.nix>
<modules/desktop.nix>
<modules/printing.nix>
<modules/autoupdate.nix>
];
# setup the NIX_PATH so modules from the repo found

10
modules/autoupdate.nix Normal file
View file

@ -0,0 +1,10 @@
{ pkgs, config, ... }:
{
system.autoUpgrade = {
enable = true;
dates = "12:00";
# might need to move this into the configuration of `birne`?
allowReboot = true;
};
}