diff --git a/modules/home/niri/config.kdl b/modules/home/niri/config.kdl index 314e205..b7e8b2c 100644 --- a/modules/home/niri/config.kdl +++ b/modules/home/niri/config.kdl @@ -3,6 +3,11 @@ // Check the wiki for a full description of the configuration: // https://yalter.github.io/niri/Configuration:-Introduction +cursor { + xcursor-theme "Adwaita" + xcursor-size 24 +} + environment { QT_QPA_PLATFORM "wayland" NIXOS_OZONE_WL "1" diff --git a/modules/home/niri/default.nix b/modules/home/niri/default.nix index 6f266a2..c8b28cf 100644 --- a/modules/home/niri/default.nix +++ b/modules/home/niri/default.nix @@ -16,6 +16,15 @@ in ]; config = lib.mkIf (!config.isMacOS) { + home.pointerCursor = { + enable = true; + package = pkgs.adwaita-icon-theme; + name = "Adwaita"; + size = 24; + gtk.enable = true; + x11.enable = true; + }; + xdg.configFile."niri/config.kdl".source = lib.mkDefault ./config.kdl; xdg.portal.extraPortals = with pkgs; [ xdg-desktop-portal-gnome