Files
Nixos/hm-modules/shell/addition/starship/default.nix
T
2025-08-03 23:21:58 +02:00

35 lines
869 B
Nix

{ config, lib, pkgs, ... }:
with lib;
let cfg = config.dov.shell.addition.starship;
in {
options.dov.shell.addition.starship.enable = mkEnableOption "starship configuration";
config = mkIf cfg.enable {
programs.starship = {
enable = true;
enableZshIntegration = config.dov.shell.zsh.enable;
enableNushellIntegration = config.dov.shell.nu.enable;
# TODO for now no bash - no integration
#enableBashIntegration = config.dov.shell.bash.enable;
settings = {
nix_shell = {
disabled = false;
impure_msg = "";
symbol = "";
format = "[$symbol$state]($style) ";
};
shlvl = {
disabled = false;
symbol = "λ ";
};
haskell.symbol = " ";
openstack.disabled = true;
gcloud.disabled = true;
};
};
};
}