From 3269c7608e6a06f46def0f6c23a31403e5b62a0c Mon Sep 17 00:00:00 2001 From: Hendrik Sokolowski Date: Mon, 18 Dec 2023 22:39:18 +0100 Subject: [PATCH] fix fonts --- modules/core/fonts.nix | 2 +- modules/graphical/default.nix | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/core/fonts.nix b/modules/core/fonts.nix index 29734489..e988f5f7 100644 --- a/modules/core/fonts.nix +++ b/modules/core/fonts.nix @@ -5,7 +5,7 @@ ... }: { fonts = { - fonts = with pkgs; [powerline-fonts dejavu_fonts]; + packages = with pkgs; [powerline-fonts dejavu_fonts]; fontconfig.defaultFonts = { monospace = ["DejaVu Sans Mono for Powerline"]; sansSerif = ["DejaVu Sans"]; diff --git a/modules/graphical/default.nix b/modules/graphical/default.nix index 9644f849..9117d4d1 100644 --- a/modules/graphical/default.nix +++ b/modules/graphical/default.nix @@ -80,8 +80,8 @@ in { # Enable GVfs, a userspace virtual filesystem services.gvfs.enable = true; - fonts.enableDefaultFonts = true; - fonts.fonts = with pkgs; [ + fonts.enableDefaultPackages = true; + fonts.packages = with pkgs; [ fira-code fira-code-symbols google-fonts