From 2fd1beed320dbecad4037c68a757464d257a2779 Mon Sep 17 00:00:00 2001 From: Chris Cochrun Date: Mon, 21 Nov 2022 10:52:49 -0600 Subject: [PATCH] updating kohlin to proper hardward config --- system/kohlin/hardware-configuration.nix | 26 ++++++++++-------------- 1 file changed, 11 insertions(+), 15 deletions(-) diff --git a/system/kohlin/hardware-configuration.nix b/system/kohlin/hardware-configuration.nix index a931f5a..06ef456 100644 --- a/system/kohlin/hardware-configuration.nix +++ b/system/kohlin/hardware-configuration.nix @@ -8,37 +8,33 @@ [ (modulesPath + "/installer/scan/not-detected.nix") ]; - boot.initrd.availableKernelModules = [ "xhci_pci" "ehci_pci" "ahci" "usb_storage" "sd_mod" "sr_mod" "rtsx_usb_sdmmc" ]; + boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "usb_storage" "sd_mod" "sr_mod" ]; boot.initrd.kernelModules = [ ]; boot.kernelModules = [ "kvm-intel" ]; boot.extraModulePackages = [ ]; fileSystems."/" = - { device = "/dev/disk/by-uuid/103a24d5-ffb5-4f7c-ab68-48e0b766b3ac"; - fsType = "btrfs"; - options = [ "subvol=@" "noatime" "nodiratime" "compress=zstd" ]; + { device = "/dev/disk/by-uuid/3dc76272-54d9-445e-846f-591cd407b085"; + fsType = "ext4"; }; - fileSystems."/boot" = - { device = "/dev/disk/by-uuid/55C5-7725"; + fileSystems."/boot/efi" = + { device = "/dev/disk/by-uuid/DDA5-32A1"; fsType = "vfat"; }; - fileSystems."/storage" = - { device = "/dev/disk/by-uuid/f1804953-14e5-42db-a974-1e18f16d884c"; - fsType = "btrfs"; - options = [ "noatime" "nodiratime" "compress=zstd" ]; - }; - - swapDevices = [ ]; + swapDevices = + [ { device = "/dev/disk/by-uuid/b25464c5-2268-4963-80cb-6dc51dcba91b"; } + ]; # 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.enp2s0.useDHCP = lib.mkDefault true; - # networking.interfaces.wlp3s0.useDHCP = lib.mkDefault true; + # networking.interfaces.eno1.useDHCP = lib.mkDefault true; + # networking.interfaces.wlo1.useDHCP = lib.mkDefault true; + powerManagement.cpuFreqGovernor = lib.mkDefault "powersave"; hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; }