Enable automatic upgrade

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

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;
};
}