Skip to content

Commit

Permalink
install nerdfonts with nix
Browse files Browse the repository at this point in the history
  • Loading branch information
fspv committed Sep 23, 2024
1 parent f0615f5 commit 3ddcd51
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 6 deletions.
4 changes: 4 additions & 0 deletions .bin/init-user-env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -58,3 +58,7 @@ nix-shell -p krew git cacert --command 'export PATH="${KREW_ROOT:-$HOME/.krew}/b

nix-shell -p arduino-cli --command "arduino-cli core install arduino:avr" --pure

NERDFONTS_PATH=${HOME}/.local/share/fonts/fonts/nerdfonts/
mkdir -p "${NERDFONTS_PATH}"
nix-shell --pure -p nix nerdfonts --run "cp --no-preserve=mode -R $(nix-instantiate --eval --expr 'with import <nixpkgs> {}; pkgs.nerdfonts.outPath')/share/fonts/truetype/NerdFonts/* ${NERDFONTS_PATH}"
nix-shell --pure -p fontconfig --run "fc-cache -fv"
6 changes: 3 additions & 3 deletions .config/nvim/lua/plugins_config/lsp_conf.lua
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,9 @@ local on_attach_func = function(client, bufnr)
vim.diagnostic.config({
signs = {
text = {
[vim.diagnostic.severity.ERROR] = '',
[vim.diagnostic.severity.WARN] = '',
[vim.diagnostic.severity.HINT] = '',
[vim.diagnostic.severity.ERROR] = '',
[vim.diagnostic.severity.WARN] = '',
[vim.diagnostic.severity.HINT] = '',
[vim.diagnostic.severity.INFO] = '',
},
-- linehl = {
Expand Down
5 changes: 2 additions & 3 deletions .config/terminator/config
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,11 @@
[[default]]
background_darkness = 0.9
background_type = transparent
cursor_color = "#00ff00"
font = JetBrainsMono NF 11
background_image = None
font = JetBrainsMonoNL Nerd Font 11
foreground_color = "#00ff00"
scrollback_infinite = True
use_system_font = False
background_image = None
[layouts]
[[default]]
[[[child1]]]
Expand Down

0 comments on commit 3ddcd51

Please sign in to comment.