diff options
| author | Natasha Moongrave <natasha@256phi.eu> | 2026-06-28 13:11:32 +0200 |
|---|---|---|
| committer | Natasha Moongrave <natasha@256phi.eu> | 2026-06-28 13:11:32 +0200 |
| commit | d30e60036816173d01ca48a0f76dbcf78352a01f (patch) | |
| tree | 1ab5515c7d5f3ed0892ea982d5b11a409c6db1f8 /modules/hosts/herra/hardware.nix | |
| parent | 5fcc532aa89611efa227dc039786b3dc6a26711a (diff) | |
Moved hosts to be a top level directory instead of under modules
Diffstat (limited to 'modules/hosts/herra/hardware.nix')
| -rw-r--r-- | modules/hosts/herra/hardware.nix | 54 |
1 files changed, 0 insertions, 54 deletions
diff --git a/modules/hosts/herra/hardware.nix b/modules/hosts/herra/hardware.nix deleted file mode 100644 index 2ec7efb..0000000 --- a/modules/hosts/herra/hardware.nix +++ /dev/null @@ -1,54 +0,0 @@ -{ - self, - inputs, - ... -}: { - flake.nixosModules.herraHardware = { - config, - lib, - pkgs, - modulesPath, - ... - }: { - # 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. - - imports = [ - (modulesPath + "/installer/scan/not-detected.nix") - ]; - - boot.initrd.availableKernelModules = ["xhci_pci" "ahci" "nvme" "thunderbolt" "usbhid" "usb_storage" "sd_mod"]; - boot.initrd.kernelModules = []; - boot.kernelModules = ["kvm-intel"]; - boot.extraModulePackages = []; - - fileSystems."/" = { - device = "/dev/disk/by-uuid/229a13d8-159e-40b6-915a-606c32e3ca79"; - fsType = "btrfs"; - options = ["subvol=@"]; - }; - - fileSystems."/home" = { - device = "/dev/disk/by-uuid/229a13d8-159e-40b6-915a-606c32e3ca79"; - fsType = "btrfs"; - options = ["subvol=@home"]; - }; - - fileSystems."/boot" = { - device = "/dev/disk/by-uuid/03F6-F782"; - fsType = "vfat"; - options = ["fmask=0077" "dmask=0077"]; - }; - - fileSystems."/nix" = { - device = "/dev/disk/by-uuid/28fb6b6d-fb64-4a42-80af-88ce7b081258"; - fsType = "btrfs"; - }; - - swapDevices = []; - - nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; - hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; - }; -} |
