22 lines
513 B
Nix
22 lines
513 B
Nix
|
{
|
||
|
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;
|
||
|
}
|