diff options
| author | Caroline Larimore <caroline@larimo.re> | 2025-04-26 01:38:19 -0700 |
|---|---|---|
| committer | Caroline Larimore <caroline@larimo.re> | 2025-04-26 01:38:19 -0700 |
| commit | 0b5e20158e6981f746748a81ed668a0d5af56451 (patch) | |
| tree | 8ad982007e384b5f547e380f4a99ddde07527dbd /modules | |
| parent | 730f0dc30daf815c35ac71ab0c8c1a0113e05ef3 (diff) | |
home: rename theme name option
Diffstat (limited to 'modules')
| -rw-r--r-- | modules/home/desktop/default.nix | 2 | ||||
| -rw-r--r-- | modules/home/desktop/theme/gruvbox/default.nix | 3 | ||||
| -rw-r--r-- | modules/home/tools/vim/default.nix | 2 |
3 files changed, 3 insertions, 4 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; diff --git a/modules/home/tools/vim/default.nix b/modules/home/tools/vim/default.nix index b07f8d4..192cf06 100644 --- a/modules/home/tools/vim/default.nix +++ b/modules/home/tools/vim/default.nix @@ -16,7 +16,7 @@ in { set termguicolors set background=dark - colorscheme ${theme.name} + colorscheme ${theme.vim} syntax on |