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 = {
name = "FiraCode Nerd Font Mono Reg";
package = with pkgs; (nerdfonts.override { fonts = [ "FiraCode" ]; });
package = pkgs.nerd-fonts.fira-code;
};
themeFile = "Catppuccin-Mocha";

View file

@ -1,4 +1,4 @@
{ pkgs, ... }:
{ pkgs, lib, ... }:
{
luj.hmgr.julien = {
@ -60,7 +60,9 @@
];
};
home.packages = with pkgs; [
home.packages =
with pkgs;
[
du-dust
kitty
jq
@ -68,7 +70,6 @@
fira-code
feh
meld
nerdfonts
jetbrains-mono
cantarell-fonts
unstable.nixd
@ -113,7 +114,8 @@
emacs-lsp-booster
pyright
nixfmt-rfc-style
];
]
++ builtins.filter lib.attrsets.isDerivation (builtins.attrValues pkgs.nerd-fonts);
fonts.fontconfig.enable = true;
@ -150,6 +152,7 @@
".config/dconf"
".local/share/keyrings"
".cache/mu"
"Maildir"
];
allowOther = true;
};