mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-02-07 12:19:07 +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 {
|
(lib.mkIf cfg.fonts.enable {
|
||||||
fonts = {
|
fonts = {
|
||||||
enableDefaultFonts = true;
|
enableDefaultPackages = true;
|
||||||
fontDir.enable = true;
|
fontDir.enable = true;
|
||||||
fontconfig = {
|
fontconfig = {
|
||||||
enable = true;
|
enable = true;
|
||||||
@ -126,7 +126,7 @@ in {
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
fonts = with pkgs; [
|
packages = with pkgs; [
|
||||||
# Some monospace fonts.
|
# Some monospace fonts.
|
||||||
iosevka
|
iosevka
|
||||||
jetbrains-mono
|
jetbrains-mono
|
||||||
|
@ -28,7 +28,7 @@ in
|
|||||||
i18n.supportedLocales = lib.mkForce [ "all" ];
|
i18n.supportedLocales = lib.mkForce [ "all" ];
|
||||||
|
|
||||||
# The most minimal set of packages for most locales.
|
# The most minimal set of packages for most locales.
|
||||||
fonts.fonts = with pkgs; [
|
fonts.packages = with pkgs; [
|
||||||
noto-fonts
|
noto-fonts
|
||||||
noto-fonts-cjk
|
noto-fonts-cjk
|
||||||
noto-fonts-cjk-sans
|
noto-fonts-cjk-sans
|
||||||
|
Loading…
Reference in New Issue
Block a user