nixos/hosts/Legion/configuration.nix

21 lines
408 B
Nix

{
config,
pkgs,
...
}: {
users.mutableUsers = false;
system.autoUpgrade = {
enable = true;
flake = "git+${config.nix.registry.nixos.to.url}";
flags = ["-L"]; # Print build logs
dates = "02:00";
randomizedDelaySec = "15min";
allowReboot = true;
rebootWindow = {
lower = "02:00";
upper = "05:00";
};
};
environment.systemPackages = with pkgs; [nil];
}