rice/hosts/tara/system.nix

45 lines
798 B
Nix
Raw Normal View History

2024-01-25 15:54:05 +00:00
{...}: {
imports = [
./linode.nix
];
# Don't change!
system.stateVersion = "22.05";
time.timeZone = "UTC";
i18n.defaultLocale = "en_US.UTF-8";
boot = {
loader.grub.forceInstall = true;
loader.grub.device = "nodev";
loader.timeout = 10;
tmp.cleanOnBoot = true;
};
security.sudo.wheelNeedsPassword = false;
services.openssh.enable = true;
networking = {
hostName = "tara";
firewall.allowPing = true;
usePredictableInterfaceNames = false;
};
nix = {
settings = {
auto-optimise-store = true;
trusted-users = ["root"];
};
gc = {
automatic = true;
dates = "weekly";
options = "--delete-older-than 14d";
};
extraOptions = ''
experimental-features = nix-command flakes
'';
};
}