25 lines
454 B
Nix
25 lines
454 B
Nix
{ pkgs, config, registry, ... }:
|
|
|
|
{
|
|
boot.tmp.useTmpfs = true;
|
|
|
|
# reboot 60 seconds after kernel panic
|
|
boot.kernel.sysctl."kernel.panic" = 60;
|
|
|
|
# Set your time zone.
|
|
time.timeZone = "Europe/Berlin";
|
|
|
|
nix = {
|
|
settings.build-cores = 1;
|
|
gc = {
|
|
automatic = true;
|
|
dates = "daily";
|
|
options = "--delete-old";
|
|
};
|
|
};
|
|
|
|
services.resolved.dnssec = "false";
|
|
|
|
system.stateVersion = "21.11"; # Did you read the comment?
|
|
}
|