From 3f9e7ece81ba7692fae1ae6d6c894b6b649c368c Mon Sep 17 00:00:00 2001 From: Alex Davies Date: Tue, 14 May 2024 20:48:43 -0300 Subject: [PATCH] Gwen's laptop hardware config --- nixos/hardware/gwen.nix | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/nixos/hardware/gwen.nix b/nixos/hardware/gwen.nix index 656b8f7..aae306d 100644 --- a/nixos/hardware/gwen.nix +++ b/nixos/hardware/gwen.nix @@ -8,32 +8,30 @@ [ (modulesPath + "/installer/scan/not-detected.nix") ]; - boot.initrd.availableKernelModules = [ "xhci_pci" "nvme" "usb_storage" "sd_mod" "rtsx_pci_sdmmc" ]; + boot.initrd.availableKernelModules = [ "xhci_pci" "ehci_pci" "ahci" "firewire_ohci" "usbhid" "usb_storage" "sd_mod" "sr_mod" "sdhci_pci" ]; boot.initrd.kernelModules = [ ]; - boot.kernelModules = [ "kvm-intel" ]; + boot.kernelModules = [ ]; boot.extraModulePackages = [ ]; fileSystems."/" = - { device = "/dev/disk/by-uuid/91d9a91c-9c69-4d82-85dc-42598b9ceaec"; + { device = "/dev/disk/by-uuid/946dac58-4ad2-463d-b0a4-46064a3e9e2f"; fsType = "ext4"; }; fileSystems."/boot" = - { device = "/dev/disk/by-uuid/BED6-71B3"; + { device = "/dev/disk/by-uuid/6D60-03A9"; fsType = "vfat"; }; - swapDevices = - [ { device = "/dev/disk/by-uuid/693adc19-c9d6-43a2-8e80-044f93a73af9"; } - ]; + swapDevices = [ ]; # Enables DHCP on each ethernet and wireless interface. In case of scripted networking # (the default) this is the recommended approach. When using systemd-networkd it's # 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.enp0s31f6.useDHCP = lib.mkDefault true; - # networking.interfaces.wlp0s20f3.useDHCP = lib.mkDefault true; + # networking.interfaces.enp0s25.useDHCP = lib.mkDefault true; + # networking.interfaces.wlo1.useDHCP = lib.mkDefault true; nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;