diff options
| author | Arpit Chakladar <arpitchakladar+git@gmail.com> | 2026-07-15 20:32:36 +0530 |
|---|---|---|
| committer | Arpit Chakladar <arpitchakladar+git@gmail.com> | 2026-07-15 20:32:36 +0530 |
| commit | 23616c2e13f63f0262d64538032b98ce83cc0ec2 (patch) | |
| tree | 3ea56e8c12c6735b5dddb34b5699c59c00066b0f /modules/terminal/starship | |
| parent | 01aaa7ad39c1fe8af6ffbca31abbab27dbfefc95 (diff) | |
| download | home-manager-config-23616c2e13f63f0262d64538032b98ce83cc0ec2.tar.gz home-manager-config-23616c2e13f63f0262d64538032b98ce83cc0ec2.zip | |
feat: renamed the options to reflect their changed directory stucture
Renamed the options for the configurations based on the sub-module that
they belong to
Diffstat (limited to 'modules/terminal/starship')
| -rw-r--r-- | modules/terminal/starship/default.nix | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/modules/terminal/starship/default.nix b/modules/terminal/starship/default.nix index ae5e082..647cef3 100644 --- a/modules/terminal/starship/default.nix +++ b/modules/terminal/starship/default.nix @@ -2,9 +2,14 @@ # Starship - Minimal, blazing-fast shell prompt { - config = lib.mkIf config.programs.starship.enable { + options.terminal.starship = { + enable = lib.mkEnableOption "Enables starship."; + }; + + config = lib.mkIf config.terminal.starship.enable { programs.starship = { - enableZshIntegration = config.programs.zsh.enable; + enable = true; + enableZshIntegration = config.terminal.zsh.enable; settings = let mkSegment = content: ''[┄\[](red)[${content}]($style)[\]](red)''; |
