From 1061e3ca30ee16cf6bc6ffe508a8cfdd62639288 Mon Sep 17 00:00:00 2001 From: Yureka Date: Fri, 22 Oct 2021 18:47:02 +0000 Subject: [PATCH 1/2] 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; } -- 2.39.5 From e72d22c5bc2767b47c4f68b843ca3517c9c83167 Mon Sep 17 00:00:00 2001 From: Yureka Date: Fri, 22 Oct 2021 18:47:20 +0000 Subject: [PATCH 2/2] update nixpkgs --- nix/sources.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/nix/sources.json b/nix/sources.json index d05993b..d23d445 100644 --- a/nix/sources.json +++ b/nix/sources.json @@ -17,10 +17,10 @@ "homepage": "", "owner": "NixOS", "repo": "nixpkgs", - "rev": "75c1664b444ff3be4d7828a120500dcaa5bce0d4", - "sha256": "0n5gsqh7a5s6bw3vaak5sg7rlyb9ypy7pjfc1rij8ygs4wh1b196", + "rev": "70904d4a9927a4d6e05c72c4aaac4370e05107f3", + "sha256": "08vvir0npyrdx85ypiannwzvyryqdw3749bghffhdsq2dgz1cx8z", "type": "tarball", - "url": "https://github.com/NixOS/nixpkgs/archive/75c1664b444ff3be4d7828a120500dcaa5bce0d4.tar.gz", + "url": "https://github.com/NixOS/nixpkgs/archive/70904d4a9927a4d6e05c72c4aaac4370e05107f3.tar.gz", "url_template": "https://github.com///archive/.tar.gz" } } -- 2.39.5