From 29f65513a7dc020e5c8826047abb292d7c5ddbcf Mon Sep 17 00:00:00 2001 From: Stefan Ellmauthaler Date: Wed, 1 Dec 2021 09:47:47 +0100 Subject: [PATCH] X11 changed cursor size --- layer/graphical.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/layer/graphical.nix b/layer/graphical.nix index 91bda45..c39d9bc 100644 --- a/layer/graphical.nix +++ b/layer/graphical.nix @@ -1,6 +1,7 @@ { config, pkgs, lib, ... }: let isgraphical = config.variables.graphical; + cursorsize = if config.variables.hostName == "nucturne" then 14 else 16; in { networking.networkmanager.enable = isgraphical; @@ -8,7 +9,10 @@ in services = { xserver = { enable = isgraphical; - displayManager.lightdm.enable = isgraphical; + displayManager.lightdm = { + enable = isgraphical; + greeters.gtk.cursorTheme.size = cursorsize; + }; windowManager.i3 = { enable = isgraphical; extraPackages = with pkgs; [