From 4b80d21c00dd53df54110d8282b3c6989175b23d Mon Sep 17 00:00:00 2001 From: Hadi <112569860+anotherhadi@users.noreply.github.com> Date: Tue, 25 Mar 2025 13:32:50 +0100 Subject: [PATCH] Edit hardware conf Former-commit-id: b6bd84fc3bac8d8a152a013388a575300689d869 --- hosts/laptop/hardware-configuration.nix | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/hosts/laptop/hardware-configuration.nix b/hosts/laptop/hardware-configuration.nix index 7ab31ca..cfee274 100644 --- a/hosts/laptop/hardware-configuration.nix +++ b/hosts/laptop/hardware-configuration.nix @@ -8,18 +8,18 @@ [ (modulesPath + "/installer/scan/not-detected.nix") ]; - boot.initrd.availableKernelModules = [ "nvme" "xhci_pci" "usb_storage" "sd_mod" ]; + boot.initrd.availableKernelModules = [ "nvme" "xhci_pci" "uas" "usbhid" "sd_mod" ]; boot.initrd.kernelModules = [ ]; boot.kernelModules = [ "kvm-amd" ]; boot.extraModulePackages = [ ]; fileSystems."/" = - { device = "/dev/disk/by-uuid/4c1fd50c-ad7d-4653-b120-c5b0bfacac38"; + { device = "/dev/disk/by-uuid/6320d3c6-0231-45ec-817a-c6f0e39aab73"; fsType = "ext4"; }; fileSystems."/boot" = - { device = "/dev/disk/by-uuid/DBF1-ED2E"; + { device = "/dev/disk/by-uuid/5251-9B85"; fsType = "vfat"; options = [ "fmask=0077" "dmask=0077" ]; }; @@ -32,6 +32,7 @@ # with explicit per-interface declarations with `networking.interfaces..useDHCP`. networking.useDHCP = lib.mkDefault true; # networking.interfaces.eno1.useDHCP = lib.mkDefault true; + # networking.interfaces.enp7s0f4u1u4.useDHCP = lib.mkDefault true; # networking.interfaces.wlo1.useDHCP = lib.mkDefault true; nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";