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

This commit is contained in:
K900
2023-03-23 16:46:38 +03:00
parent a4bc667096
commit 739fd62a50
4 changed files with 16 additions and 5 deletions

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