fix: fix eval error on nerdfonts

This commit is contained in:
Julien Malka 2025-01-02 10:03:09 +01:00
parent df4c52c5d0
commit 7c30c450e0
Signed by: Luj
GPG key ID: 6FC74C847011FD83
2 changed files with 59 additions and 56 deletions

View file

@ -26,7 +26,7 @@ with lib;
}; };
font = { font = {
name = "FiraCode Nerd Font Mono Reg"; name = "FiraCode Nerd Font Mono Reg";
package = with pkgs; (nerdfonts.override { fonts = [ "FiraCode" ]; }); package = pkgs.nerd-fonts.fira-code;
}; };
themeFile = "Catppuccin-Mocha"; themeFile = "Catppuccin-Mocha";

View file

@ -1,4 +1,4 @@
{ pkgs, ... }: { pkgs, lib, ... }:
{ {
luj.hmgr.julien = { luj.hmgr.julien = {
@ -60,60 +60,62 @@
]; ];
}; };
home.packages = with pkgs; [ home.packages =
du-dust with pkgs;
kitty [
jq du-dust
lazygit kitty
fira-code jq
feh lazygit
meld fira-code
nerdfonts feh
jetbrains-mono meld
cantarell-fonts jetbrains-mono
unstable.nixd cantarell-fonts
libreoffice unstable.nixd
signal-desktop libreoffice
font-awesome signal-desktop
nodejs font-awesome
htop nodejs
evince htop
mosh evince
flameshot mosh
kitty flameshot
networkmanagerapplet kitty
element-desktop networkmanagerapplet
xdg-utils element-desktop
step-cli xdg-utils
scli step-cli
jftui scli
texlive.combined.scheme-full jftui
inochi-creator texlive.combined.scheme-full
inochi-session inochi-creator
gh inochi-session
ouch gh
spotify ouch
nautilus spotify
pika-backup nautilus
mpv pika-backup
zotero mpv
emacsPackages.jinx zotero
hunspellDicts.en_US emacsPackages.jinx
rstudio hunspellDicts.en_US
forge-sparks rstudio
citations forge-sparks
blanket citations
fragments blanket
metadata-cleaner fragments
gnome-obfuscate metadata-cleaner
warp gnome-obfuscate
tuba warp
resources tuba
notify-client resources
emacs-lsp-booster notify-client
pyright emacs-lsp-booster
nixfmt-rfc-style pyright
]; nixfmt-rfc-style
]
++ builtins.filter lib.attrsets.isDerivation (builtins.attrValues pkgs.nerd-fonts);
fonts.fontconfig.enable = true; fonts.fontconfig.enable = true;
@ -150,6 +152,7 @@
".config/dconf" ".config/dconf"
".local/share/keyrings" ".local/share/keyrings"
".cache/mu" ".cache/mu"
"Maildir"
]; ];
allowOther = true; allowOther = true;
}; };