config: update font-related attributes from its deprecated versions

This commit is contained in:
Gabriel Arazas 2023-07-29 13:21:20 +08:00
parent 16ab9b9ddb
commit 9c20c6675a
No known key found for this signature in database
GPG Key ID: ADE0C41DAB221FCC
2 changed files with 3 additions and 3 deletions

View File

@ -112,7 +112,7 @@ in {
(lib.mkIf cfg.fonts.enable {
fonts = {
enableDefaultFonts = true;
enableDefaultPackages = true;
fontDir.enable = true;
fontconfig = {
enable = true;
@ -126,7 +126,7 @@ in {
};
};
fonts = with pkgs; [
packages = with pkgs; [
# Some monospace fonts.
iosevka
jetbrains-mono

View File

@ -28,7 +28,7 @@ in
i18n.supportedLocales = lib.mkForce [ "all" ];
# The most minimal set of packages for most locales.
fonts.fonts = with pkgs; [
fonts.packages = with pkgs; [
noto-fonts
noto-fonts-cjk
noto-fonts-cjk-sans