From 8ed040dd0e723442b7ea7dc88c37b3e6179e65f4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kha=C3=AFs=20COLIN?= Date: Tue, 13 Aug 2024 18:47:04 +0200 Subject: [PATCH] fix(stylix): difference between nixos & home-manager options --- nixos/configuration.nix | 2 ++ nixos/stylix.nix | 9 --------- 2 files changed, 2 insertions(+), 9 deletions(-) diff --git a/nixos/configuration.nix b/nixos/configuration.nix index 84c7574..74b4f4b 100644 --- a/nixos/configuration.nix +++ b/nixos/configuration.nix @@ -152,6 +152,8 @@ WLR_DRM_NO_MODIFIERS = 1; # fix dolphin file associations not working XDG_MENU_PREFIX = "plasma-"; + # fix cursor size for some apps + XCURSOR_SIZE = 24; }; # Some programs need SUID wrappers, can be configured further or are diff --git a/nixos/stylix.nix b/nixos/stylix.nix index 3b1f1ab..a703459 100644 --- a/nixos/stylix.nix +++ b/nixos/stylix.nix @@ -6,10 +6,6 @@ polarity = "dark"; base16Scheme = ./neovim_default_scheme.yaml; - # fix wallpaper set error when not running under kde plasma - # see https://github.com/danth/stylix/issues/340 - targets.kde.enable = false; - cursor = { package = breezex-cursor; name = "BreezeX-Light"; @@ -39,9 +35,4 @@ }; }; }; - - # fix cursor size for some apps - home.sessionVariables = { - XCURSOR_SIZE = 24; - }; }