This commit is contained in:
2026-02-15 12:13:34 +00:00
parent 53502772a0
commit a0963d09f0
2 changed files with 35 additions and 0 deletions

34
config/modules/fonts.nix Normal file
View File

@@ -0,0 +1,34 @@
{
den,
modules,
...
}:
{
modules.fonts = {
nixos =
{ pkgs, ... }:
{
config.fonts = {
enableDefaultPackages = true;
packages =
with pkgs;
[
material-design-icons
material-symbols
nerd-fonts.caskaydia-cove
nerd-fonts.noto
noto-fonts-cjk-sans
noto-fonts-cjk-serif
]
++ [
(inputs.font-patcher.lib.patchFont {
font = "${pkgs.googlesans-code}/share/fonts/googlesans-code/GoogleSansCode[wght].ttf";
name = "Google Sans Code Nerd Font";
inherit system;
})
];
fontDir.enable = true;
};
};
};
}