nixos/hosts/faunus-ater.nix

22 lines
513 B
Nix
Raw Normal View History

2022-05-27 18:11:47 +02:00
{
pkgs,
lib,
config,
...
}: {
networking.hostName = "faunus-ater";
networking.hostId = "a4d7bec4";
networking.interfaces.eno1.useDHCP = true;
# === Settings ===
settings.ssh.openOutsideVPN = true;
# === ZFS services ===
services.zfs.trim.enable = true;
services.zfs.autoScrub.enable = true;
services.zfs.autoScrub.pools = ["rpool"];
powerManagement.cpuFreqGovernor = "powersave";
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
}