starship config in home
This commit is contained in:
parent
69e1940191
commit
6ca1efc75b
|
@ -14,10 +14,42 @@ in {
|
||||||
};
|
};
|
||||||
|
|
||||||
config = mkIf cfg.enable {
|
config = mkIf cfg.enable {
|
||||||
environment.systemPackages = with pkgs; [
|
programs = {
|
||||||
fish
|
fish = enabled;
|
||||||
starship
|
starship = {
|
||||||
colorls
|
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) ";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -12,7 +12,6 @@ with lib.wyrdgard; {
|
||||||
virtualisation.hypervGuest.videoMode = "1920x1080";
|
virtualisation.hypervGuest.videoMode = "1920x1080";
|
||||||
|
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
|
|
||||||
];
|
];
|
||||||
|
|
||||||
environment.variables.EDITOR = "nvim";
|
environment.variables.EDITOR = "nvim";
|
||||||
|
|
Loading…
Reference in a new issue