home: fix missing fonts, refactor into module

This commit is contained in:
Trolli Schmittlauch 2024-03-26 10:34:35 +01:00
parent 7956d7ff0f
commit 2e3694a6fb
3 changed files with 30 additions and 22 deletions

View file

@ -133,25 +133,6 @@ let
mypy
];
fonts = [
comic-neue
source-sans-pro
source-code-pro
source-serif-pro
ubuntu_font_family
twemoji-color-font
open-sans
(iosevka-bin.override { variant = "curly-slab"; })
config.nur.repos.schmittlauch.vollkorn
# TODO: humor-sans
# fcio corporate design, TODO module
fira-code
fira-mono
# TODO fira-sans + condensed
# TODO museo 500
];
games = [
superTuxKart
#hedgewars
@ -256,8 +237,6 @@ in
desktop = lib.mkEnableOption "Enable a common set of desktop applications";
kde = lib.mkEnableOption "Enable a common set of KDE applications";
};
# TODO fonts in separate module
# TODO latex in separate module
config = {
home.packages = lib.flatten (
(lib.optional cfg.graphics graphicsApps)