diff --git a/modules/xcursor.nix b/modules/xcursor.nix index e2c5f0c2c..7c00a5cbc 100644 --- a/modules/xcursor.nix +++ b/modules/xcursor.nix @@ -60,11 +60,6 @@ in { platforms.linux) ]; - warnings = ['' - GTK cursor settings will no longer be handled in the xsession.pointerCursor module in future. - Please use gtk.cursorTheme for GTK cursor settings instead. - '']; - home.packages = [ cfg.package ]; xsession.initExtra = '' @@ -78,8 +73,7 @@ in { "Xcursor.size" = cfg.size; }; - # TODO: deprecate after next version release. - gtk.cursorTheme = { inherit (cfg) package name size; }; + gtk.cursorTheme = mkDefault { inherit (cfg) package name size; }; # Set name in icons theme, for compatibility with AwesomeWM etc. See: # https://github.com/nix-community/home-manager/issues/2081