From 8b38036a2e624d8e3df549465d69be938cc53c8d Mon Sep 17 00:00:00 2001 From: Joseph Hanson Date: Mon, 29 Apr 2024 10:26:05 -0500 Subject: [PATCH] Update hardware for Telperion. --- nixos/telperion/hardware-configuration.nix | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/nixos/telperion/hardware-configuration.nix b/nixos/telperion/hardware-configuration.nix index 70f5794..58b4cb8 100644 --- a/nixos/telperion/hardware-configuration.nix +++ b/nixos/telperion/hardware-configuration.nix @@ -8,31 +8,34 @@ [ (modulesPath + "/installer/scan/not-detected.nix") ]; - boot.initrd.availableKernelModules = [ "xhci_pci" "ehci_pci" "ahci" "usbhid" "usb_storage" "sd_mod" ]; + boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "nvme" "usbhid" "usb_storage" "sd_mod" ]; boot.initrd.kernelModules = [ ]; boot.kernelModules = [ "kvm-intel" ]; boot.extraModulePackages = [ ]; fileSystems."/" = - { device = "/dev/disk/by-uuid/957686d5-f744-4f8a-8587-9ba24dcbb244"; + { device = "/dev/disk/by-uuid/a6154fb3-aa3c-4aee-85ff-5d6ee45b3ac2"; fsType = "ext4"; }; fileSystems."/boot" = - { device = "/dev/disk/by-uuid/B976-0673"; + { device = "/dev/disk/by-uuid/1198-F31F"; fsType = "vfat"; options = [ "fmask=0077" "dmask=0077" ]; }; - swapDevices = [ ]; + swapDevices = + [ { device = "/dev/disk/by-uuid/7002fdc4-3f90-4334-9681-2bac7b6ed257"; } + ]; # 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.eno1.useDHCP = lib.mkDefault true; + # networking.interfaces.enp2s0.useDHCP = lib.mkDefault true; + # networking.interfaces.wlp3s0.useDHCP = lib.mkDefault true; nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; -} \ No newline at end of file +}