chore: update to new nerd-fonts structure

This commit is contained in:
Swarsel 2024-12-08 12:25:40 +01:00
parent e6fd44508e
commit b17092ec6f
Signed by: swarsel
GPG key ID: 26A54C31F2A4FD84
5 changed files with 14 additions and 13 deletions

View file

@ -115,6 +115,8 @@ This is where the theme for the whole OS is defined. This noweb-ref section cann
For styling, I am using the [[https://github.com/danth/stylix][stylix]] NixOS module, loaded by flake. This package is really great, as it adds nix expressions for basically everything. Ever since switching to this, I did not have to play around with theming anywhere else.
The full list of nerd-fonts can be found here: https://github.com/NixOS/nixpkgs/blob/nixos-unstable/pkgs/data/fonts/nerd-fonts/manifests/fonts.json
#+begin_src nix :tangle no :noweb-ref theme
enable = true;
@ -151,7 +153,8 @@ For styling, I am using the [[https://github.com/danth/stylix][stylix]] NixOS mo
};
monospace = {
package = pkgs.nerdfonts; # has overrides
package = pkgs.nerd-fonts.fira-mono; # has overrides
name = "FiraCode Nerd Font Mono";
};
@ -2436,10 +2439,6 @@ This file now holds all of the "nixpkgs-changes" that I am using across the conf
withSystemVencord = true;
};
nerdfonts = _prev.nerdfonts.override {
fonts = [ "FiraMono" "FiraCode" "NerdFontsSymbolsOnly" ];
};
firefox = _prev.firefox.override {
nativeMessagingHosts = [
_prev.tridactyl-native
@ -6544,7 +6543,9 @@ This holds packages that I can use as provided, or with small modifications (as
})
# font stuff
nerdfonts # has overrides
nerd-fonts.fira-mono
nerd-fonts.fira-code
nerd-fonts.symbols-only
noto-fonts-emoji
font-awesome_5
noto-fonts