move starship back to home manager to ensure shells configured in home manager can use it

This commit is contained in:
wi11-holdsworth 2025-08-07 15:05:10 +10:00
parent ad690819d2
commit cfc893048a
3 changed files with 1 additions and 1 deletions

View file

@ -21,7 +21,6 @@ in
nix-settings.enable = lib.mkDefault true;
nixpkgs.enable = lib.mkDefault true;
nixvim.enable = lib.mkDefault true;
starship.enable = lib.mkDefault true;
systemd-boot.enable = lib.mkDefault true;
tailscale.enable = lib.mkDefault true;

View file

@ -1,21 +0,0 @@
{
config,
lib,
...
}:
let
feature = "starship";
in
{
config = lib.mkIf config.${feature}.enable {
programs.starship = {
enable = true;
settings.character = {
success_symbol = "[%](bold green) ";
error_symbol = "[%](bold red) ";
};
};
};
options.${feature}.enable = lib.mkEnableOption "enables ${feature}";
}