mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-02-07 06:19:00 +00:00
config: update font-related attributes from its deprecated versions
This commit is contained in:
parent
16ab9b9ddb
commit
9c20c6675a
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user