diff options
| author | Christian Soltermann <[email protected]> | 2026-04-08 15:27:10 +0000 |
|---|---|---|
| committer | Christian Soltermann <[email protected]> | 2026-04-08 15:39:27 +0000 |
| commit | e1fcf4fac685b91ed7272479c0e9e670687deb92 (patch) | |
| tree | c679a925f5f6a7b20d1da1bdcfc8823743d96d92 /hosts/desktop/hardware-configuration.nix | |
| parent | 7b950081b884ec89a48f9faff3456716a376a8f4 (diff) | |
Preparing desktop install
Diffstat (limited to 'hosts/desktop/hardware-configuration.nix')
| -rw-r--r-- | hosts/desktop/hardware-configuration.nix | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/hosts/desktop/hardware-configuration.nix b/hosts/desktop/hardware-configuration.nix new file mode 100644 index 0000000..7ddea07 --- /dev/null +++ b/hosts/desktop/hardware-configuration.nix @@ -0,0 +1,31 @@ +# 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 = [ "nvme" "xhci_pci" "ahci" "usbhid" "usb_storage" "sd_mod" ]; + boot.initrd.kernelModules = [ ]; + boot.kernelModules = [ "kvm-amd" ]; + boot.extraModulePackages = [ ]; + + fileSystems."/" = + { device = "/dev/disk/by-uuid/e09483ea-5fb4-472d-99ba-3d4dc9560400"; + fsType = "btrfs"; + }; + + fileSystems."/boot/efi" = + { device = "/dev/disk/by-uuid/B29A-4911"; + fsType = "vfat"; + options = [ "fmask=0077" "dmask=0077" ]; + }; + + swapDevices = [ ]; + + nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; + hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; +} |
