From e3450e716b2d13be007459288f4f419b85971f58 Mon Sep 17 00:00:00 2001 From: Guanran Wang Date: Tue, 14 Nov 2023 16:00:16 +0800 Subject: [PATCH] home,starship: use nerdfont preset from pkgs.starship --- .../profiles/command-line/resources/common/default.nix | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/users/guanranwang/home-manager/profiles/command-line/resources/common/default.nix b/users/guanranwang/home-manager/profiles/command-line/resources/common/default.nix index 178eebd..df36ae0 100644 --- a/users/guanranwang/home-manager/profiles/command-line/resources/common/default.nix +++ b/users/guanranwang/home-manager/profiles/command-line/resources/common/default.nix @@ -59,10 +59,7 @@ vimcmd_visual_symbol = "[<](bold yellow)"; }; } - (builtins.fromTOML (builtins.readFile (pkgs.fetchurl { - url = "https://starship.rs/presets/toml/nerd-font-symbols.toml"; - hash = "sha256-fPmZrfhwM9NakdlJ7Y4rZ5n6JjsqXNEQ9XuFa8en9n0="; - }))) + (builtins.fromTOML (builtins.readFile "${pkgs.starship}/share/starship/presets/nerd-font-symbols.toml")) ]; };