From 23616c2e13f63f0262d64538032b98ce83cc0ec2 Mon Sep 17 00:00:00 2001 From: Arpit Chakladar Date: Wed, 15 Jul 2026 20:32:36 +0530 Subject: 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 --- modules/terminal/starship/default.nix | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'modules/terminal/starship/default.nix') 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)''; -- cgit v1.2.3