Fix monitor configuration and update hardware settings for Haze
This commit is contained in:
parent
3e38a77ece
commit
3216e68456
2 changed files with 19 additions and 18 deletions
|
@ -8,7 +8,7 @@
|
||||||
<primary>yes</primary>
|
<primary>yes</primary>
|
||||||
<monitor>
|
<monitor>
|
||||||
<monitorspec>
|
<monitorspec>
|
||||||
<connector>DP-3</connector>
|
<connector>DP-2</connector>
|
||||||
<vendor>GBT</vendor>
|
<vendor>GBT</vendor>
|
||||||
<product>M27Q</product>
|
<product>M27Q</product>
|
||||||
<serial>21030B006741</serial>
|
<serial>21030B006741</serial>
|
||||||
|
@ -16,9 +16,8 @@
|
||||||
<mode>
|
<mode>
|
||||||
<width>2560</width>
|
<width>2560</width>
|
||||||
<height>1440</height>
|
<height>1440</height>
|
||||||
<rate>143.856</rate>
|
<rate>169.831</rate>
|
||||||
</mode>
|
</mode>
|
||||||
<colormode>bt2100</colormode>
|
|
||||||
</monitor>
|
</monitor>
|
||||||
</logicalmonitor>
|
</logicalmonitor>
|
||||||
</configuration>
|
</configuration>
|
||||||
|
|
|
@ -6,7 +6,6 @@
|
||||||
modulesPath,
|
modulesPath,
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
|
|
||||||
{
|
{
|
||||||
imports = lib.flatten [
|
imports = lib.flatten [
|
||||||
(modulesPath + "/installer/scan/not-detected.nix")
|
(modulesPath + "/installer/scan/not-detected.nix")
|
||||||
|
@ -28,8 +27,7 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
# Use the cachyos kernel for better performance
|
# Use the cachyos kernel for better performance
|
||||||
# kernelPackages = pkgs.linuxPackages_cachyos;
|
kernelPackages = pkgs.linuxPackages_cachyos;
|
||||||
kernelPackages = pkgs.linuxPackages_latest;
|
|
||||||
|
|
||||||
initrd = {
|
initrd = {
|
||||||
systemd.enable = true;
|
systemd.enable = true;
|
||||||
|
@ -50,20 +48,24 @@
|
||||||
];
|
];
|
||||||
extraModulePackages = [ ];
|
extraModulePackages = [ ];
|
||||||
};
|
};
|
||||||
fileSystems."/" =
|
|
||||||
{ device = "/dev/disk/by-uuid/5615474c-c665-407e-8f60-c221414ae343";
|
|
||||||
fsType = "ext4";
|
|
||||||
};
|
|
||||||
|
|
||||||
fileSystems."/boot" =
|
fileSystems."/" = {
|
||||||
{ device = "/dev/disk/by-uuid/C9F2-4C1F";
|
device = "/dev/disk/by-uuid/5615474c-c665-407e-8f60-c221414ae343";
|
||||||
fsType = "vfat";
|
fsType = "ext4";
|
||||||
options = [ "fmask=0077" "dmask=0077" ];
|
};
|
||||||
};
|
|
||||||
|
|
||||||
swapDevices =
|
fileSystems."/boot" = {
|
||||||
[ { device = "/dev/disk/by-uuid/10529583-bde9-4aad-8001-f5954c4a1474"; }
|
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
|
time.hardwareClockInLocalTime = true; # Fixes windows dual-boot time issues
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue