diff options
Diffstat (limited to 'configuration/hardware.nix')
| -rw-r--r-- | configuration/hardware.nix | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/configuration/hardware.nix b/configuration/hardware.nix index 7de8fe9..bac2abd 100644 --- a/configuration/hardware.nix +++ b/configuration/hardware.nix @@ -5,20 +5,20 @@ boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "nvme" "usbhid" "usb_storage" "sd_mod" ]; boot.initrd.kernelModules = [ ]; - boot.kernelParams = [ "kvm-amd" ]; + boot.kernelParams = [ "kvm-amd" "snd_hda_intel.probe_mask=1" ]; boot.extraModulePackages = [ ]; - fileSystems."/".device = "/dev/disk/by-label/nixos"; + fileSystems."/".device = "/dev/nvme0n1p2"; fileSystems."/".fsType = "ext4"; - fileSystems."/boot".device = "/dev/disk/by-label/boot"; + fileSystems."/boot".device = "/dev/nvme0n1p1"; fileSystems."/boot".fsType = "vfat"; fileSystems."/boot".options = [ "fmask=0022" "dmask=0022" ]; - fileSystems."/media/drive".device = "/dev/disk/by-uuid/facf5a78-8872-437c-4345-50a28c894aca"; + fileSystems."/media/drive".device = "/dev/sda2"; fileSystems."/media/drive".fsType = "btrfs"; - swapDevices = [{ device = "/dev/disk/by-label/swap"; }]; + swapDevices = [{ device = "/dev/nvme0n1p3"; }]; nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; |
