update system

This commit is contained in:
2024-12-19 12:28:04 +01:00
parent 4e6c0f1603
commit dbd50e4a65
15 changed files with 85 additions and 199 deletions

View File

@@ -21,15 +21,17 @@ in
config = mkIf cfg.enable {
fonts = {
packages = with pkgs; [
noto-fonts
noto-fonts-cjk-sans
noto-fonts-emoji
];
nerdfonts.additionalFonts = [ "Noto" ];
packages =
with pkgs;
[
noto-fonts
noto-fonts-cjk-sans
noto-fonts-emoji
]
++ (if (config.fonts.nerd-fonts.enable) then [ nerd-fonts.noto ] else [ ]);
fontconfig = {
defaultFonts.sansSerif = mkIf cfg.default [
(if (config.fonts.nerdfonts.enable) then "Noto Sans Nerd Font" else "Noto Sans")
(if (config.fonts.nerd-fonts.enable) then "Noto Sans Nerd Font" else "Noto Sans")
];
};
};