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;
|
2023-09-24 12:05:19 +01:00
|
|
|
users.mutableUsers = false;
|
2023-06-22 09:34:05 +01:00
|
|
|
system.autoUpgrade = {
|
2024-03-08 08:03:03 +00:00
|
|
|
enable = true;
|
2024-02-26 08:12:26 +00:00
|
|
|
flake = "git+${config.nix.registry.nixos.to.url}";
|
2024-03-31 18:06:01 +01:00
|
|
|
flags = ["-L"]; # Print build logs
|
2024-03-08 08:03:03 +00:00
|
|
|
dates = "02:00";
|
2024-02-17 13:25:51 +00:00
|
|
|
randomizedDelaySec = "15min";
|
2023-12-20 07:49:22 +00:00
|
|
|
allowReboot = true;
|
2023-06-22 09:34:05 +01:00
|
|
|
rebootWindow = {
|
2023-12-08 06:26:53 +00:00
|
|
|
lower = "02:00";
|
2023-06-22 09:34:05 +01: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
|
|
|
}
|