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>
|
||||
<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>
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue