diff options
| author | Isabella Bastaja <isabella@sorre.xyz> | 2026-08-18 20:07:35 +0200 |
|---|---|---|
| committer | Isabella Bastaja <isabella@sorre.xyz> | 2026-08-20 22:00:12 +0200 |
| commit | dcd2c4c4d71161301a956b7e4777b499f5010e74 (patch) | |
| tree | 91945b57a045cb79bd83e58e898f28c3a626c53c /hosts/tower/hardware.nix | |
| parent | b57bf02455c97a70efb22c6c7805f4df87c8b998 (diff) | |
tower: init
Diffstat (limited to 'hosts/tower/hardware.nix')
| -rw-r--r-- | hosts/tower/hardware.nix | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/hosts/tower/hardware.nix b/hosts/tower/hardware.nix new file mode 100644 index 0000000..c776489 --- /dev/null +++ b/hosts/tower/hardware.nix @@ -0,0 +1,48 @@ +# 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" + "ehci_pci" + "ahci" + "usbhid" + "usb_storage" + "sd_mod" + "sr_mod" + ]; + boot.initrd.kernelModules = [ ]; + boot.kernelModules = [ "kvm-intel" ]; + boot.extraModulePackages = [ ]; + + fileSystems."/" = { + device = "/dev/disk/by-uuid/f6e9f2b9-0a50-4e1e-aeb9-2021e174c540"; + fsType = "xfs"; + }; + + fileSystems."/boot" = { + device = "/dev/disk/by-uuid/FA99-9BD0"; + fsType = "vfat"; + options = [ + "fmask=0077" + "dmask=0077" + ]; + }; + + swapDevices = [ ]; + + nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; + hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; +} |
