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