Enable auto-update for all systems

This commit is contained in:
Charlotte 🦝 Delenk 2022-01-14 14:07:01 +01:00
parent 1d9bddf1ba
commit c804d43a59
Signed by: darkkirb
GPG key ID: 015E3768A70AFBC5
2 changed files with 12 additions and 12 deletions

View file

@ -18,4 +18,15 @@
dates = [ "weekly" ];
};
};
system.autoUpgrade = {
enable = true;
allowReboot = true;
flake = "github:DarkKirb/nixos-config";
flags = [
"--recreate-lock-file"
"--no-write-lock-file"
"-L" # print build logs
];
dates = "daily";
};
}

View file

@ -1,13 +1,2 @@
# Configuration unique to servers
{ ... }: {
system.autoUpgrade = {
enable = true;
flake = "github:DarkKirb/nixos-config";
flags = [
"--recreate-lock-file"
"--no-write-lock-file"
"-L" # print build logs
];
dates = "daily";
};
}
{ ... }: { }