Enable automatic upgrade
This commit is contained in:
parent
bb44e040af
commit
c93fa389b1
|
@ -12,6 +12,7 @@
|
||||||
<modules/base.nix>
|
<modules/base.nix>
|
||||||
<modules/desktop.nix>
|
<modules/desktop.nix>
|
||||||
<modules/printing.nix>
|
<modules/printing.nix>
|
||||||
|
<modules/autoupdate.nix>
|
||||||
];
|
];
|
||||||
|
|
||||||
# setup the NIX_PATH so modules from the repo found
|
# setup the NIX_PATH so modules from the repo found
|
||||||
|
|
10
modules/autoupdate.nix
Normal file
10
modules/autoupdate.nix
Normal 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;
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in a new issue