diff options
| author | Collin Williams <96917990+bluedragon1221@users.noreply.github.com> | 2025-11-30 16:35:17 -0600 |
|---|---|---|
| committer | Collin Williams <96917990+bluedragon1221@users.noreply.github.com> | 2025-11-30 16:35:17 -0600 |
| commit | cdad26dfda64e94d19db576e93793ded9434bd09 (patch) | |
| tree | 82bac4d4a68750b570ebbbb78c4d0749be96c6e1 /modules/terminal/options.nix | |
| parent | 9882f579108d7c39589c7e96b428dced121bd31a (diff) | |
changes from a long time ago.
Diffstat (limited to 'modules/terminal/options.nix')
| -rw-r--r-- | modules/terminal/options.nix | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/modules/terminal/options.nix b/modules/terminal/options.nix index 8799c0b..d4c4a1b 100644 --- a/modules/terminal/options.nix +++ b/modules/terminal/options.nix @@ -6,15 +6,10 @@ ... }: let inherit (lib) mkOption mkEnableOption types; - inherit (my-lib.options {inherit lib config;}) mkProgramOption' mkProgramOption; + inherit (my-lib.options {inherit lib config;}) mkProgramOption; in { options = { collinux.terminal = { - theme = mkOption { - type = types.enum ["catppuccin" "adwaita"]; - default = config.collinux.theme; - }; - shells = { fish = mkProgramOption "fish shell"; bash = mkProgramOption "bash shell"; @@ -36,7 +31,7 @@ in { starship = mkProgramOption "starship prompt"; lazygit.enable = mkEnableOption "lazygit"; - cmus = mkProgramOption "cmus"; + cmus.enable = mkEnableOption "cmus"; nh.enable = mkEnableOption "nh nix helper"; git = { @@ -50,7 +45,12 @@ in { }; }; - helix = mkProgramOption' "helix text editor" { + helix = { + enable = mkEnableOption "helix text editor"; + theme = mkOption { + type = lib.types.enum ["catppuccin" "adwaita" "kanagawa"]; + default = config.collinux.theme; + }; hardMode = mkOption { type = types.bool; description = "Disable arrow keys and mouse"; |
