all repos — nixfiles @ 2758a7cc46a933647f221c075cebf03fb8118a6c

System and user configuration, managed by nix and home-manager

xserver: update font settings to match current NixOS schema
Alan Pearce alan@alanpearce.eu
Fri, 18 Aug 2023 17:54:03 +0200
commit

2758a7cc46a933647f221c075cebf03fb8118a6c

parent

a66d64738810e75661999d7e63614149b90a8554

1 files changed, 2 insertions(+), 2 deletions(-)

jump to
M system/settings/services/xserver.nixsystem/settings/services/xserver.nix
@@ -31,7 +31,7 @@ ]; 
   fonts = {
     fontDir.enable = true;
-    enableDefaultFonts = false;
+    enableDefaultPackages = false;
     fontconfig = {
       antialias = true;
       defaultFonts = {
@@ -55,7 +55,7 @@ </match>         </fontconfig>
       '';
     };
-    fonts = with pkgs;
+    packages = with pkgs;
       [
         gohufont
         dina-font