starship config in home

This commit is contained in:
christoph.hollizeck 2024-03-26 22:10:43 +01:00
parent 69e1940191
commit 6ca1efc75b
2 changed files with 37 additions and 6 deletions

View file

@ -14,10 +14,42 @@ in {
};
config = mkIf cfg.enable {
environment.systemPackages = with pkgs; [
fish
starship
colorls
];
programs = {
fish = enabled;
starship = {
enable = true;
enableTransience = true;
settings = {
character = {
success_symbol = "[](bold green)";
error_symbol = "[](bold red) ";
vicmd_symbol = "[](bold blue) ";
};
time = {
disabled = false;
time_format = "%T";
utc_time_offset = "+1";
};
username = {
style_user = "lightgreen";
style_root = "red";
format = "[$user]($style) ";
disabled = false;
show_always = true;
};
hostname = {
ssh_only = false;
format = "@ [$hostname](bold yellow) ";
disabled = false;
};
directory = {
home_symbol = "󰋞 ~";
read_only_style = "197";
read_only = " ";
format = "at [$path]($style)[$read_only]($read_only_style) ";
};
};
};
};
};
}

View file

@ -12,7 +12,6 @@ with lib.wyrdgard; {
virtualisation.hypervGuest.videoMode = "1920x1080";
environment.systemPackages = with pkgs; [
];
environment.variables.EDITOR = "nvim";