From 3216e68456c5a6307e75daf99df3eaa60c071fd3 Mon Sep 17 00:00:00 2001 From: Chris Toph Date: Fri, 30 May 2025 20:12:59 -0400 Subject: [PATCH] Fix monitor configuration and update hardware settings for Haze --- home/hosts/haze/config/monitors.xml | 7 +++---- hosts/nixos/haze/hardware.nix | 30 +++++++++++++++-------------- 2 files changed, 19 insertions(+), 18 deletions(-) diff --git a/home/hosts/haze/config/monitors.xml b/home/hosts/haze/config/monitors.xml index b581ebb..28ab4fd 100644 --- a/home/hosts/haze/config/monitors.xml +++ b/home/hosts/haze/config/monitors.xml @@ -8,7 +8,7 @@ yes - DP-3 + DP-2 GBT M27Q 21030B006741 @@ -16,10 +16,9 @@ 2560 1440 - 143.856 + 169.831 - bt2100 - + \ No newline at end of file diff --git a/hosts/nixos/haze/hardware.nix b/hosts/nixos/haze/hardware.nix index decf944..20a2bb2 100644 --- a/hosts/nixos/haze/hardware.nix +++ b/hosts/nixos/haze/hardware.nix @@ -6,7 +6,6 @@ modulesPath, ... }: - { imports = lib.flatten [ (modulesPath + "/installer/scan/not-detected.nix") @@ -28,8 +27,7 @@ }; # Use the cachyos kernel for better performance - # kernelPackages = pkgs.linuxPackages_cachyos; - kernelPackages = pkgs.linuxPackages_latest; + kernelPackages = pkgs.linuxPackages_cachyos; initrd = { systemd.enable = true; @@ -50,20 +48,24 @@ ]; extraModulePackages = [ ]; }; - fileSystems."/" = - { device = "/dev/disk/by-uuid/5615474c-c665-407e-8f60-c221414ae343"; - fsType = "ext4"; - }; - fileSystems."/boot" = - { device = "/dev/disk/by-uuid/C9F2-4C1F"; - fsType = "vfat"; - options = [ "fmask=0077" "dmask=0077" ]; - }; + fileSystems."/" = { + device = "/dev/disk/by-uuid/5615474c-c665-407e-8f60-c221414ae343"; + fsType = "ext4"; + }; - swapDevices = - [ { device = "/dev/disk/by-uuid/10529583-bde9-4aad-8001-f5954c4a1474"; } + fileSystems."/boot" = { + device = "/dev/disk/by-uuid/C9F2-4C1F"; + fsType = "vfat"; + options = [ + "fmask=0077" + "dmask=0077" ]; + }; + + swapDevices = [ + { device = "/dev/disk/by-uuid/10529583-bde9-4aad-8001-f5954c4a1474"; } + ]; time.hardwareClockInLocalTime = true; # Fixes windows dual-boot time issues