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 }:
with pkgs;
[
iosevka
source-code-pro
source-sans
source-serif
]
{ pkgs, ... }:
{
fonts.packages = with pkgs; [
iosevka
source-code-pro
source-sans
source-serif
];
}

View File

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

View File

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