diff options
| author | Collin Williams <96917990+bluedragon1221@users.noreply.github.com> | 2025-12-19 15:22:53 -0600 |
|---|---|---|
| committer | Collin Williams <96917990+bluedragon1221@users.noreply.github.com> | 2025-12-19 15:22:53 -0600 |
| commit | 7fc4bb05905697e6a43fa3805da45768ea9a9858 (patch) | |
| tree | 8d2857bb18ea5808f254e663f6da654313ab94b1 /modules/terminal/options.nix | |
| parent | 5a5b183373c3732d96bb834b3ba0fcf2e88e590f (diff) | |
| parent | cdad26dfda64e94d19db576e93793ded9434bd09 (diff) | |
merge from main
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 47f2057..e55ab1b 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"; |
