Fix monitor configuration and update hardware settings for Haze

This commit is contained in:
Chris Toph 2025-05-30 20:12:59 -04:00
parent 3e38a77ece
commit 3216e68456
2 changed files with 19 additions and 18 deletions

View file

@ -8,7 +8,7 @@
<primary>yes</primary>
<monitor>
<monitorspec>
<connector>DP-3</connector>
<connector>DP-2</connector>
<vendor>GBT</vendor>
<product>M27Q</product>
<serial>21030B006741</serial>
@ -16,9 +16,8 @@
<mode>
<width>2560</width>
<height>1440</height>
<rate>143.856</rate>
<rate>169.831</rate>
</mode>
<colormode>bt2100</colormode>
</monitor>
</logicalmonitor>
</configuration>

View file

@ -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,19 +48,23 @@
];
extraModulePackages = [ ];
};
fileSystems."/" =
{ device = "/dev/disk/by-uuid/5615474c-c665-407e-8f60-c221414ae343";
fileSystems."/" = {
device = "/dev/disk/by-uuid/5615474c-c665-407e-8f60-c221414ae343";
fsType = "ext4";
};
fileSystems."/boot" =
{ device = "/dev/disk/by-uuid/C9F2-4C1F";
fileSystems."/boot" = {
device = "/dev/disk/by-uuid/C9F2-4C1F";
fsType = "vfat";
options = [ "fmask=0077" "dmask=0077" ];
options = [
"fmask=0077"
"dmask=0077"
];
};
swapDevices =
[ { device = "/dev/disk/by-uuid/10529583-bde9-4aad-8001-f5954c4a1474"; }
swapDevices = [
{ device = "/dev/disk/by-uuid/10529583-bde9-4aad-8001-f5954c4a1474"; }
];
time.hardwareClockInLocalTime = true; # Fixes windows dual-boot time issues