Add autoupgrade
This commit is contained in:
parent
0042da23be
commit
18bb13226c
4 changed files with 21 additions and 1 deletions
13
modules/system/settings/nix/autoupgrade/default.nix
Normal file
13
modules/system/settings/nix/autoupgrade/default.nix
Normal file
|
@ -0,0 +1,13 @@
|
|||
{ self, ... }:
|
||||
{
|
||||
system.autoUpgrade = {
|
||||
enable = true;
|
||||
flake = self.outPath;
|
||||
flags = [
|
||||
"--update-input"
|
||||
"nixpkgs"
|
||||
"--commit-lock-file"
|
||||
];
|
||||
dates = "daily";
|
||||
};
|
||||
}
|
|
@ -1,5 +1,9 @@
|
|||
{ ... }:
|
||||
{
|
||||
imports = [
|
||||
./autoupgrade
|
||||
];
|
||||
|
||||
nix = {
|
||||
settings = {
|
||||
experimental-features = [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue