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
isgraphical = config.variables.graphical;
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
{
networking.networkmanager.enable = isgraphical;
@ -10,7 +10,7 @@ in
services = {
xserver = {
enable = isgraphical;
dpi = xserverDPI;
# dpi = xserverDPI;
displayManager.lightdm = {
enable = isgraphical;
greeters.gtk.cursorTheme.size = cursorsize;