treewide: move hidpi settings to another module, make conditional on nixos version

This commit is contained in:
K900 committed 2023-03-23 16:58:35 +03:00
1 parent a4bc667096
commit 739fd62a50
4 files changed
+16 -5

No files matched your search

+2 -4
View File
@@ -1,11 +1,9 @@
{lib, ...}: {
{
imports = [
../../common/pc/laptop
../../common/pc/laptop/ssd
../../common/cpu/intel
../../common/cpu/intel/kaby-lake
../../common/hidpi.nix
];
# HiDPI settings
hardware.video.hidpi.enable = lib.mkDefault true;
}
+1 -1
View File
@@ -5,6 +5,7 @@ in
imports = [
../../common/pc/laptop
../../common/pc/laptop/ssd
../../common/hidpi.nix
];
# Necessary kernel modules
@@ -34,7 +35,6 @@ in
};
# More HiDPI settings
hardware.video.hidpi.enable = true;
services.xserver.dpi = 280;
# Necessary for audio support on the 1195G7 model