nixos/hosts/Legion/configuration.nix

23 lines
497 B
Nix
Raw Normal View History

2024-03-31 18:06:01 +01:00
{
config,
pkgs,
...
}: {
2024-04-17 16:53:36 +01:00
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
users.mutableUsers = false;
system.autoUpgrade = {
enable = true;
flake = "git+${config.nix.registry.nixos.to.url}";
2024-03-31 18:06:01 +01:00
flags = ["-L"]; # Print build logs
dates = "02:00";
randomizedDelaySec = "15min";
allowReboot = true;
rebootWindow = {
lower = "02:00";
upper = "05:00";
};
};
2024-03-31 18:06:01 +01:00
environment.systemPackages = with pkgs; [nil];
2023-06-22 09:03:42 +01:00
}