put fonts into their own module

This commit is contained in:
Schrottkatze 2024-03-03 14:22:10 +01:00
parent beba034c17
commit 1c0b4d13dc
Signed by: schrottkatze
SSH key fingerprint: SHA256:hXb3t1vINBFCiDCmhRABHX5ocdbLiKyCdKI4HK2Rbbc
3 changed files with 19 additions and 16 deletions

View file

@ -1,20 +1,4 @@
{pkgs, ...}: {
fonts.packages = with pkgs; [
(nerdfonts.override {fonts = ["FiraCode"];})
montserrat
noto-fonts
atkinson-hyperlegible
arkpandora_ttf
liberation_ttf
caladea
carlito
garamond-libre
ocr-a
amiri
libertine
inter
];
fonts.fontDir.enable = true;
home-manager.users.jade = {pkgs, ...}: {
home.packages = with pkgs; [
audacity

View file

@ -32,6 +32,7 @@ in
./specific-hardware
./evremap.nix
./xmonad.nix
./fonts.nix
./firefox.nix
];

18
modules/desktop/fonts.nix Normal file
View file

@ -0,0 +1,18 @@
{pkgs, ...}: {
fonts.packages = with pkgs; [
(nerdfonts.override {fonts = ["FiraCode"];})
montserrat
noto-fonts
atkinson-hyperlegible
arkpandora_ttf
liberation_ttf
caladea
carlito
garamond-libre
ocr-a
amiri
libertine
inter
];
fonts.fontDir.enable = true;
}