mirror of
https://github.com/NixOS/nixos-hardware.git
synced 2026-12-06 07:53:30 +01:00
treewide: move hidpi settings to another module, make conditional on nixos version
This commit is contained in:
1 parent
a4bc667096
commit
739fd62a50
4 files changed
+16
-5
No files matched your search
@@ -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;
|
||||
}
|
||||
@@ -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
|
||||
|
||||
Reference in new issue
Block a user