From 1061e3ca30ee16cf6bc6ffe508a8cfdd62639288 Mon Sep 17 00:00:00 2001 From: Yureka Date: Fri, 22 Oct 2021 18:47:02 +0000 Subject: [PATCH] nuc: update hardware config --- hosts/nuc/hardware-configuration.nix | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/hosts/nuc/hardware-configuration.nix b/hosts/nuc/hardware-configuration.nix index d25690f..ef0e54b 100644 --- a/hosts/nuc/hardware-configuration.nix +++ b/hosts/nuc/hardware-configuration.nix @@ -8,18 +8,18 @@ [ (modulesPath + "/installer/scan/not-detected.nix") ]; - boot.initrd.availableKernelModules = [ "xhci_pci" "ehci_pci" "ahci" "uas" "sd_mod" "sdhci_pci" ]; + boot.initrd.availableKernelModules = [ "xhci_pci" "ehci_pci" "ahci" "usb_storage" "usbhid" "sd_mod" ]; boot.initrd.kernelModules = [ ]; boot.kernelModules = [ "kvm-intel" ]; boot.extraModulePackages = [ ]; fileSystems."/" = - { device = "/dev/disk/by-uuid/ccb84984-fae9-4bfc-8c0d-3f5a98022103"; + { device = "/dev/disk/by-uuid/b7fc2bb6-d14d-4fbc-be7d-f81e2e30cf64"; fsType = "xfs"; }; fileSystems."/boot" = - { device = "/dev/disk/by-uuid/5DE4-9727"; + { device = "/dev/disk/by-uuid/5700-EDB1"; fsType = "vfat"; }; @@ -30,5 +30,6 @@ swapDevices = [ ]; - powerManagement.cpuFreqGovernor = lib.mkDefault "ondemand"; + # high-resolution display + hardware.video.hidpi.enable = lib.mkDefault true; }