1
0
mirror of https://github.com/ellmau/nixos.git synced 2025-12-19 09:29:36 +01:00

Adjust DPI stuff

This commit is contained in:
Stefan Ellmauthaler 2022-05-02 09:43:01 +02:00
parent 6198d6f030
commit bea7e670da

View File

@ -2,7 +2,7 @@
let let
isgraphical = config.variables.graphical; isgraphical = config.variables.graphical;
cursorsize = if config.variables.hostName == "nucturne" then 14 else 16; cursorsize = if config.variables.hostName == "nucturne" then 14 else 16;
xserverDPI = if config.variables.hostName == "none" then 180 else null; xserverDPI = if config.variables.hostName == "stel-xps" then 180 else null;
in in
{ {
networking.networkmanager.enable = isgraphical; networking.networkmanager.enable = isgraphical;
@ -10,7 +10,7 @@ in
services = { services = {
xserver = { xserver = {
enable = isgraphical; enable = isgraphical;
dpi = xserverDPI; # dpi = xserverDPI;
displayManager.lightdm = { displayManager.lightdm = {
enable = isgraphical; enable = isgraphical;
greeters.gtk.cursorTheme.size = cursorsize; greeters.gtk.cursorTheme.size = cursorsize;