Auto-upgrade the system
This commit is contained in:
parent
5b8bba9c63
commit
674966001b
|
@ -133,6 +133,20 @@ in {
|
||||||
nix.nixPath = let path = toString ./.;
|
nix.nixPath = let path = toString ./.;
|
||||||
in [ "nixpkgs=${inputs.nixpkgs}" "nixos-config=${path}/configuration.nix" ];
|
in [ "nixpkgs=${inputs.nixpkgs}" "nixos-config=${path}/configuration.nix" ];
|
||||||
|
|
||||||
|
# Auto-upgrade the system
|
||||||
|
system.autoUpgrade = {
|
||||||
|
enable = true;
|
||||||
|
dates = "22:30";
|
||||||
|
flake = "/home/coolneng/Projects/panacea";
|
||||||
|
flags = [
|
||||||
|
"--update-input"
|
||||||
|
"agenix"
|
||||||
|
"--update-input"
|
||||||
|
"nixpkgs"
|
||||||
|
"--commit-lock-file"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
|
||||||
# Import other configuration modules
|
# Import other configuration modules
|
||||||
imports = [
|
imports = [
|
||||||
./modules/hardware-configuration.nix
|
./modules/hardware-configuration.nix
|
||||||
|
|
Loading…
Reference in New Issue