Make fonts part of the system config

This commit is contained in:
SebastianStork 2024-04-01 21:56:06 +02:00
parent ed78d60299
commit 3e4299cbf7
2 changed files with 7 additions and 6 deletions

View file

@ -30,6 +30,13 @@
pkgs.neovim pkgs.neovim
]; ];
fonts.packages = [
(pkgs.nerdfonts.override {fonts = ["JetBrainsMono" "NerdFontsSymbolsOnly"];})
pkgs.corefonts
pkgs.roboto
pkgs.open-sans
];
nixpkgs.config.allowUnfreePredicate = pkg: nixpkgs.config.allowUnfreePredicate = pkg:
builtins.elem (pkgs.lib.getName pkg) [ builtins.elem (pkgs.lib.getName pkg) [
"spotify" "spotify"

View file

@ -43,11 +43,5 @@
hunspell hunspell
hunspellDicts.de_DE hunspellDicts.de_DE
hunspellDicts.en_US hunspellDicts.en_US
# Fonts
(nerdfonts.override {fonts = ["JetBrainsMono" "NerdFontsSymbolsOnly"];})
corefonts
roboto
open-sans
]; ];
} }