Files
Nixos/hm-modules/shell/addition/starship/default.nix
T
Alexander Derevianko 2ed1f0163c Big omen laptop migration
2025-08-01 21:25:58 +02:00

34 lines
808 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;
# 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;
};
};
};
}