diff --git a/birne/configuration.nix b/birne/configuration.nix index a476064..1c8bec8 100644 --- a/birne/configuration.nix +++ b/birne/configuration.nix @@ -12,6 +12,7 @@ + ]; # setup the NIX_PATH so modules from the repo found diff --git a/modules/autoupdate.nix b/modules/autoupdate.nix new file mode 100644 index 0000000..7152937 --- /dev/null +++ b/modules/autoupdate.nix @@ -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; + }; +}