home,starship: apply nerdfont preset

This commit is contained in:
Guanran Wang 2023-11-14 15:30:37 +08:00
parent 2e49d687d2
commit 9d6ddfbd12
Signed by: nyancat
SSH key fingerprint: SHA256:8oWGKciPALWut/6WA27oFKofX+6Wtc0gQnsefXLQx/8

View file

@ -1,4 +1,8 @@
{pkgs, ...}: { {
pkgs,
lib,
...
}: {
home = { home = {
shellAliases = { shellAliases = {
# navigation # navigation
@ -41,7 +45,8 @@
starship = { starship = {
enable = true; enable = true;
settings = { settings = lib.mkMerge [
{
add_newline = false; add_newline = false;
line_break.disabled = true; line_break.disabled = true;
@ -53,7 +58,12 @@
vimcmd_replace_symbol = "[<](bold purple)"; vimcmd_replace_symbol = "[<](bold purple)";
vimcmd_visual_symbol = "[<](bold yellow)"; vimcmd_visual_symbol = "[<](bold yellow)";
}; };
}; }
(builtins.fromTOML (builtins.readFile (pkgs.fetchurl {
url = "https://starship.rs/presets/toml/nerd-font-symbols.toml";
hash = "sha256-fPmZrfhwM9NakdlJ7Y4rZ5n6JjsqXNEQ9XuFa8en9n0=";
})))
];
}; };
eza = { eza = {