Slight refactor of importing fonts

This commit is contained in:
larstvei 2025-09-07 16:17:38 +02:00
parent 9e3793918e
commit 1646e04099
3 changed files with 16 additions and 10 deletions

View File

@ -1,8 +1,9 @@
{ pkgs }: { pkgs, ... }:
with pkgs; {
[ fonts.packages = with pkgs; [
iosevka iosevka
source-code-pro source-code-pro
source-sans source-sans
source-serif source-serif
] ];
}

View File

@ -1,7 +1,9 @@
{ pkgs, ... }: { pkgs, ... }:
{ {
fonts.packages = import ../../home/fonts { inherit pkgs; }; imports = [
../../home/fonts
];
nix.linux-builder.enable = true; nix.linux-builder.enable = true;

View File

@ -1,8 +1,11 @@
{ pkgs, ... }: { pkgs, ... }:
{ {
imports = [
../../home/fonts
];
fonts = { fonts = {
packages = import ../../home/fonts { inherit pkgs; };
fontconfig = { fontconfig = {
enable = true; enable = true;
defaultFonts = { defaultFonts = {