fix: cursor not showing in SDDM

This commit is contained in:
2026-04-21 23:06:19 +02:00
parent 732ebb483f
commit 38c8c32a80
3 changed files with 57 additions and 36 deletions
+34 -3
View File
@@ -1,7 +1,36 @@
{
flake.modules.nixos.theme =
{
pkgs,
...
}:
let
cursorTheme = {
name = "phinger-cursors-light";
package = pkgs.phinger-cursors;
size = 24;
};
in
{
environment.systemPackages = [ cursorTheme.package ];
services.displayManager.sddm.settings = {
Theme = {
CursorTheme = cursorTheme.name;
CursorSize = cursorTheme.size;
};
};
};
flake.modules.homeManager.theme =
{ config, pkgs, ... }:
let
cursorTheme = {
name = "phinger-cursors-light";
package = pkgs.phinger-cursors;
size = 24;
};
kanagawaThemeSrc = pkgs.fetchFromGitHub {
owner = "Fausto-Korpsvart";
repo = "Kanagawa-GKT-Theme";
@@ -16,9 +45,11 @@
in
{
home.pointerCursor = {
name = "phinger-cursors-light";
package = pkgs.phinger-cursors;
size = 24;
inherit (cursorTheme)
name
package
size
;
gtk.enable = true;
};