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

X11 changed cursor size

This commit is contained in:
Stefan Ellmauthaler 2021-12-01 09:47:47 +01:00
parent a2d0e27ea0
commit 29f65513a7

View File

@ -1,6 +1,7 @@
{ config, pkgs, lib, ... }: { config, pkgs, lib, ... }:
let let
isgraphical = config.variables.graphical; isgraphical = config.variables.graphical;
cursorsize = if config.variables.hostName == "nucturne" then 14 else 16;
in in
{ {
networking.networkmanager.enable = isgraphical; networking.networkmanager.enable = isgraphical;
@ -8,7 +9,10 @@ in
services = { services = {
xserver = { xserver = {
enable = isgraphical; enable = isgraphical;
displayManager.lightdm.enable = isgraphical; displayManager.lightdm = {
enable = isgraphical;
greeters.gtk.cursorTheme.size = cursorsize;
};
windowManager.i3 = { windowManager.i3 = {
enable = isgraphical; enable = isgraphical;
extraPackages = with pkgs; [ extraPackages = with pkgs; [