feat: add unattended-updates

This commit is contained in:
Ranomier 2025-05-30 00:59:17 +02:00
parent cc466ff1e8
commit 022f6deec8
2 changed files with 14 additions and 0 deletions

View file

@ -5,6 +5,7 @@
../../modules/game/server/luanti
../../modules/sec_auth/ssh-server.nix
../../modules/pkg_mgrmnt/unattended-updates.nix
../../system_profiles/server.nix
];

View file

@ -0,0 +1,13 @@
{inArgs, ...}: {
system.autoUpgrade = {
enable = true;
flake = inArgs.self.outPath;
flags = [
"--update-input"
"nixpkgs"
"--print-build-logs"
];
dates = "07:00";
randomizedDelaySec = "45min";
};
}