nixos/hosts/Legion/configuration.nix

23 lines
497 B
Nix

{
config,
pkgs,
...
}: {
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}";
flags = ["-L"]; # Print build logs
dates = "02:00";
randomizedDelaySec = "15min";
allowReboot = true;
rebootWindow = {
lower = "02:00";
upper = "05:00";
};
};
environment.systemPackages = with pkgs; [nil];
}