Enable auto upgrades on desktop systems
This commit is contained in:
parent
8d783100a1
commit
fee8e5b8e5
13
modules/auto-upgrade/default.nix
Normal file
13
modules/auto-upgrade/default.nix
Normal file
|
@ -0,0 +1,13 @@
|
|||
{ custom }: { ... }:
|
||||
{
|
||||
system.autoUpgrade = {
|
||||
enable = true;
|
||||
dates = "10:20";
|
||||
flake = "/home/${custom.username}/.nixos";
|
||||
flags = [
|
||||
"--update-input"
|
||||
"nixpkgs"
|
||||
"--commit-lock-file"
|
||||
];
|
||||
};
|
||||
}
|
|
@ -1,6 +1,7 @@
|
|||
{ custom }: { pkgs, ... }:
|
||||
{
|
||||
imports = [
|
||||
(import "${custom.inputs.self}/modules/auto-upgrade" { inherit custom; })
|
||||
(import "${custom.inputs.self}/modules/docker" { inherit custom; })
|
||||
(import "${custom.inputs.self}/modules/droidcam" { inherit custom; })
|
||||
(import "${custom.inputs.self}/modules/email" { inherit custom; })
|
||||
|
|
Loading…
Reference in New Issue
Block a user