mirror of
https://github.com/Swarsel/.dotfiles.git
synced 2025-12-06 09:07:21 +01:00
chore: update to new nerd-fonts structure
This commit is contained in:
parent
e6fd44508e
commit
b17092ec6f
5 changed files with 14 additions and 13 deletions
|
|
@ -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.
|
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
|
#+begin_src nix :tangle no :noweb-ref theme
|
||||||
|
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
@ -151,7 +153,8 @@ For styling, I am using the [[https://github.com/danth/stylix][stylix]] NixOS mo
|
||||||
};
|
};
|
||||||
|
|
||||||
monospace = {
|
monospace = {
|
||||||
package = pkgs.nerdfonts; # has overrides
|
package = pkgs.nerd-fonts.fira-mono; # has overrides
|
||||||
|
|
||||||
name = "FiraCode Nerd Font Mono";
|
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;
|
withSystemVencord = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
nerdfonts = _prev.nerdfonts.override {
|
|
||||||
fonts = [ "FiraMono" "FiraCode" "NerdFontsSymbolsOnly" ];
|
|
||||||
};
|
|
||||||
|
|
||||||
firefox = _prev.firefox.override {
|
firefox = _prev.firefox.override {
|
||||||
nativeMessagingHosts = [
|
nativeMessagingHosts = [
|
||||||
_prev.tridactyl-native
|
_prev.tridactyl-native
|
||||||
|
|
@ -6544,7 +6543,9 @@ This holds packages that I can use as provided, or with small modifications (as
|
||||||
})
|
})
|
||||||
|
|
||||||
# font stuff
|
# font stuff
|
||||||
nerdfonts # has overrides
|
nerd-fonts.fira-mono
|
||||||
|
nerd-fonts.fira-code
|
||||||
|
nerd-fonts.symbols-only
|
||||||
noto-fonts-emoji
|
noto-fonts-emoji
|
||||||
font-awesome_5
|
font-awesome_5
|
||||||
noto-fonts
|
noto-fonts
|
||||||
|
|
|
||||||
|
|
@ -5,10 +5,6 @@
|
||||||
withSystemVencord = true;
|
withSystemVencord = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
nerdfonts = _prev.nerdfonts.override {
|
|
||||||
fonts = [ "FiraMono" "FiraCode" "NerdFontsSymbolsOnly" ];
|
|
||||||
};
|
|
||||||
|
|
||||||
firefox = _prev.firefox.override {
|
firefox = _prev.firefox.override {
|
||||||
nativeMessagingHosts = [
|
nativeMessagingHosts = [
|
||||||
_prev.tridactyl-native
|
_prev.tridactyl-native
|
||||||
|
|
|
||||||
|
|
@ -143,7 +143,9 @@
|
||||||
})
|
})
|
||||||
|
|
||||||
# font stuff
|
# font stuff
|
||||||
nerdfonts # has overrides
|
nerd-fonts.fira-mono
|
||||||
|
nerd-fonts.fira-code
|
||||||
|
nerd-fonts.symbols-only
|
||||||
noto-fonts-emoji
|
noto-fonts-emoji
|
||||||
font-awesome_5
|
font-awesome_5
|
||||||
noto-fonts
|
noto-fonts
|
||||||
|
|
|
||||||
|
|
@ -36,7 +36,8 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
monospace = {
|
monospace = {
|
||||||
package = pkgs.nerdfonts; # has overrides
|
package = pkgs.nerd-fonts.fira-mono; # has overrides
|
||||||
|
|
||||||
name = "FiraCode Nerd Font Mono";
|
name = "FiraCode Nerd Font Mono";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -36,7 +36,8 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
monospace = {
|
monospace = {
|
||||||
package = pkgs.nerdfonts; # has overrides
|
package = pkgs.nerd-fonts.fira-mono; # has overrides
|
||||||
|
|
||||||
name = "FiraCode Nerd Font Mono";
|
name = "FiraCode Nerd Font Mono";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue