diff options
| author | Tim Keller <tjk@tjkeller.xyz> | 2026-08-24 18:11:45 -0500 |
|---|---|---|
| committer | Tim Keller <tjk@tjkeller.xyz> | 2026-08-24 18:11:45 -0500 |
| commit | b691b0faa814dcaef4ef6b6c709a73ae4b232e7f (patch) | |
| tree | 69fffcd7ef46a78644a1bec5c1957495e5985390 /hosts/poweredge-pro/hardware-configuration.nix | |
| parent | 1c9ffed96c3d348eb2db3d03c420e6c79ec16220 (diff) | |
| download | nixos-b691b0faa814dcaef4ef6b6c709a73ae4b232e7f.tar.xz nixos-b691b0faa814dcaef4ef6b6c709a73ae4b232e7f.zip | |
Diffstat (limited to 'hosts/poweredge-pro/hardware-configuration.nix')
| -rw-r--r-- | hosts/poweredge-pro/hardware-configuration.nix | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/hosts/poweredge-pro/hardware-configuration.nix b/hosts/poweredge-pro/hardware-configuration.nix new file mode 100644 index 0000000..cbe1137 --- /dev/null +++ b/hosts/poweredge-pro/hardware-configuration.nix @@ -0,0 +1,50 @@ +# 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 = [ "ahci" "ehci_pci" "megaraid_sas" "usb_storage" "usbhid" "sd_mod" "sr_mod" ]; + boot.initrd.kernelModules = [ ]; + boot.kernelModules = [ "kvm-intel" ]; + boot.extraModulePackages = [ ]; + + fileSystems."/" = + { device = "nixos/root"; + fsType = "zfs"; + options = [ "zfsutil" ]; + }; + + fileSystems."/nix" = + { device = "nixos/nix"; + fsType = "zfs"; + options = [ "zfsutil" ]; + }; + + fileSystems."/var" = + { device = "nixos/var"; + fsType = "zfs"; + options = [ "zfsutil" ]; + }; + + fileSystems."/home" = + { device = "nixos/home"; + fsType = "zfs"; + options = [ "zfsutil" ]; + }; + + fileSystems."/boot" = + { device = "/dev/disk/by-uuid/186A-32C6"; + fsType = "vfat"; + options = [ "fmask=0022" "dmask=0022" ]; + }; + + swapDevices = [ ]; + + nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; + hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; +} |
