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

@@ -36,11 +36,15 @@ in
config = mkIf cfg.enable {
fonts = {
packages = with pkgs; [ fira-code ];
nerdfonts.additionalFonts = [ "FiraCode" ];
packages =
with pkgs;
[
fira-code
]
++ (if (config.fonts.nerd-fonts.enable) then [ nerd-fonts.fira-code ] else [ ]);
fontconfig = {
defaultFonts.monospace = mkIf cfg.default [
(if (config.fonts.nerdfonts.enable) then "Fira Code Nerd Font" else "FiraCode")
(if (config.fonts.nerd-fonts.enable) then "Fira Code Nerd Font" else "FiraCode")
];
localConf = ''
<match target="font">