aboutsummaryrefslogtreecommitdiff
path: root/modules/home/desktop
diff options
context:
space:
mode:
authorCaroline Larimore <caroline@larimo.re>2025-04-26 01:38:19 -0700
committerCaroline Larimore <caroline@larimo.re>2025-04-26 01:38:19 -0700
commit0b5e20158e6981f746748a81ed668a0d5af56451 (patch)
tree8ad982007e384b5f547e380f4a99ddde07527dbd /modules/home/desktop
parent730f0dc30daf815c35ac71ab0c8c1a0113e05ef3 (diff)
home: rename theme name option
Diffstat (limited to 'modules/home/desktop')
-rw-r--r--modules/home/desktop/default.nix2
-rw-r--r--modules/home/desktop/theme/gruvbox/default.nix3
2 files changed, 2 insertions, 3 deletions
diff --git a/modules/home/desktop/default.nix b/modules/home/desktop/default.nix
index 6b2ab79..f2204ef 100644
--- a/modules/home/desktop/default.nix
+++ b/modules/home/desktop/default.nix
@@ -4,7 +4,7 @@ with lib; with lib.${namespace}; let
cfg = config.${namespace}.desktop;
themeType = with types; submodule {
options = {
- name = mkOption {
+ vim = mkOption {
type = str;
};
diff --git a/modules/home/desktop/theme/gruvbox/default.nix b/modules/home/desktop/theme/gruvbox/default.nix
index 7b0aa9d..f93b0dc 100644
--- a/modules/home/desktop/theme/gruvbox/default.nix
+++ b/modules/home/desktop/theme/gruvbox/default.nix
@@ -2,8 +2,7 @@
with lib; with lib.${namespace}; {
cxl.desktop.themes."gruvbox" = {
- #TODO: grab this from attr name somehow
- name = "gruvbox";
+ vim = "gruvbox";
gtk = {
package = pkgs.gruvbox-gtk-theme;