trimmed core/packages.nix and moved fonts to their own module

This commit is contained in:
serenity-F 2024-11-07 14:02:30 +10:00
parent e2ac25c51c
commit da0da1a6de
No known key found for this signature in database
2 changed files with 56 additions and 31 deletions

28
core/fonts.nix Normal file
View file

@ -0,0 +1,28 @@
{ inputs, outputs, lib, config, pkgs, ... }:
{
imports = [
#./file.nix
];
## I put fonts here because i didn't know where tf else to put them lol
## CURRENTLY BROKEN - PLEASE FIX
fonts = {
packages = with pkgs; [
spleen
terminus_font
terminus_font_ttf
(nerdfonts.override { fonts = ["NerdFontsSymbolsOnly"]; })
];
fontDir.enable = true;
fontconfig = {
defaultFonts = {
serif = [ "spleen-32x64" ];
sansSerif = [ "spleen-32x64" ];
monospace = [ "TerminusTTF" ];
};
};
};
}