From 576722233a51c3a5fcb71189e2b2dfb77f4d63fd Mon Sep 17 00:00:00 2001 From: Jaci Anderson Date: Sat, 20 Jan 2024 12:02:13 -0700 Subject: [PATCH] Fixed jaci hardware-config --- jaci/nixos/hardware-configuration.nix | 18 ++++++------------ 1 file changed, 6 insertions(+), 12 deletions(-) diff --git a/jaci/nixos/hardware-configuration.nix b/jaci/nixos/hardware-configuration.nix index 31e746e..df133f1 100644 --- a/jaci/nixos/hardware-configuration.nix +++ b/jaci/nixos/hardware-configuration.nix @@ -8,26 +8,21 @@ [ (modulesPath + "/installer/scan/not-detected.nix") ]; - boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "usbhid" "uas" "usb_storage" "sd_mod" ]; - boot.initrd.kernelModules = [ ]; + boot.initrd.availableKernelModules = [ "nvme" "xhci_pci" "ahci" "usbhid" "usb_storage" "sd_mod" ]; + boot.initrd.kernelModules = [ "amdgpu" ]; boot.kernelModules = [ "kvm-amd" ]; boot.extraModulePackages = [ ]; fileSystems."/" = - { device = "/dev/disk/by-uuid/e48c53a4-6e7d-4b12-a46e-a408956268ea"; + { device = "/dev/disk/by-label/NIXROOT"; fsType = "ext4"; }; fileSystems."/boot" = - { device = "/dev/disk/by-uuid/82B2-9D40"; + { device = "/dev/disk/by-label/NIXBOOT"; fsType = "vfat"; }; - fileSystems."/home/nate/Games" = - { device = "/dev/disk/by-uuid/d66b7920-2c29-400a-be51-0b3890ea63db"; - fsType = "ext4"; - }; - swapDevices = [ ]; # Enables DHCP on each ethernet and wireless interface. In case of scripted networking @@ -35,9 +30,8 @@ # still possible to use this option, but it's recommended to use it in conjunction # with explicit per-interface declarations with `networking.interfaces..useDHCP`. networking.useDHCP = lib.mkDefault true; - # networking.interfaces.enp1s0f0u2u1u4.useDHCP = lib.mkDefault true; - # networking.interfaces.enp3s0.useDHCP = lib.mkDefault true; - # networking.interfaces.wlp4s0.useDHCP = lib.mkDefault true; + # networking.interfaces.eno1.useDHCP = lib.mkDefault true; + # networking.interfaces.wlp11s0.useDHCP = lib.mkDefault true; nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;