boxen/hosts/arianrhod/hardware.nix

50 lines
1.1 KiB
Nix
Raw Normal View History

2021-05-24 08:33:02 +00:00
# Do not modify this file! It was generated by nixos-generate-config
# and may be overwritten by future invocations. Please make changes
# to /etc/nixos/configuration.nix instead.
{ config, lib, pkgs, modulesPath, ... }:
{
imports =
[ (modulesPath + "/installer/scan/not-detected.nix")
];
boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "usbhid" "sd_mod" "rtsx_pci_sdmmc" ];
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-intel" ];
boot.extraModulePackages = [ ];
fileSystems."/" =
{ device = "puddle/ROOT/nixos";
fsType = "zfs";
};
fileSystems."/home" =
{ device = "puddle/DATA/home";
fsType = "zfs";
};
fileSystems."/root" =
{ device = "puddle/DATA/home/root";
fsType = "zfs";
};
fileSystems."/home/jez" =
{ device = "puddle/DATA/home/jez";
fsType = "zfs";
};
fileSystems."/puddle" =
{ device = "puddle";
fsType = "zfs";
};
fileSystems."/boot" =
{ device = "/dev/disk/by-uuid/4A6A-FC6D";
fsType = "vfat";
};
swapDevices = [ ];
powerManagement.cpuFreqGovernor = lib.mkDefault "powersave";
}