diff options
author | Tim Keller <tjkeller.xyz> | 2025-04-16 22:00:16 -0500 |
---|---|---|
committer | Tim Keller <tjkeller.xyz> | 2025-04-16 22:00:16 -0500 |
commit | 0e29bb0ae3ba31aed6c98f5da72e7c0477e036be (patch) | |
tree | 7f43131aa5d3e0a38bc23ba3c78e4aac9e71f4a4 | |
parent | a2c2b1aef7ab98b703e6d37e0871abf594460d51 (diff) | |
download | nixos-master.tar.xz nixos-master.zip |
-rw-r--r-- | modules/home/theme.nix | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/modules/home/theme.nix b/modules/home/theme.nix index 4edaffa..2288610 100644 --- a/modules/home/theme.nix +++ b/modules/home/theme.nix @@ -47,15 +47,20 @@ in { description = "default gtk font"; }; size = lib.mkOption { - type = lib.types.int; + type = with lib.types; nullOr int; default = null; description = "default gtk font size"; }; }; }; theme.cursor = { + name = lib.mkOption { + type = lib.types.str; + default = "Adwaita"; + description = "gtk cursor theme"; + }; size = lib.mkOption { - type = lib.types.int; + type = with lib.types; nullOr int; default = null; description = "gtk cursor size"; }; @@ -78,7 +83,7 @@ in { size = config.theme.font.gtk.size; }; cursorTheme = { - name = "Adwaita"; + name = config.theme.cursor.name; size = config.theme.cursor.size; }; gtk2.configLocation = "${config.xdg.configHome}/gtk-2.0/gtkrc"; |