37 lines
834 B
Nix
37 lines
834 B
Nix
{ inputs, ... }:
|
|
{
|
|
imports = [ "${inputs.self}/modules/home/fish.nix" ];
|
|
|
|
programs.fish.shellAliases = {
|
|
rebuild = "nr";
|
|
update = "nix flake update";
|
|
clean = "sudo nix-collect-garbage -d";
|
|
};
|
|
|
|
programs.starship = {
|
|
settings = {
|
|
format = "$username@$hostname:$directory$character";
|
|
add_newline = false;
|
|
username = {
|
|
style_user = "purple";
|
|
style_root = "purple";
|
|
format = "[$user]($style)";
|
|
show_always = true;
|
|
};
|
|
hostname = {
|
|
style = "green";
|
|
format = "[$hostname]($style)";
|
|
ssh_only = false;
|
|
};
|
|
directory = {
|
|
style = "blue";
|
|
format = "[$path]($style)";
|
|
truncation_length = 3;
|
|
};
|
|
character = {
|
|
success_symbol = " >";
|
|
error_symbol = " >";
|
|
};
|
|
};
|
|
};
|
|
}
|