added: google sans code font (nerds font)

This commit is contained in:
2025-12-15 23:45:04 +00:00
parent a49d1e27bd
commit b99614fddf
5 changed files with 31 additions and 28 deletions

View File

@@ -26,12 +26,11 @@
nerd-fonts.jetbrains-mono
material-design-icons
material-symbols
(inputs.font-patcher.lib.patchFont {
font = pkgs.googlesans-code;
name = "Google Sans Code Nerd Font - Regular";
subfamily = "Regular";
inherit system;
})
googlesans-code
# (inputs.font-patcher.lib.patchFont {
# font = pkgs.googlesans-code;
# name = "Google Sans Code Nerd Font";
# })
nerd-fonts.caskaydia-cove
nerd-fonts.noto
noto-fonts-cjk-sans

View File

@@ -151,21 +151,25 @@ in
fonts = {
enableDefaultPackages = true;
packages = with pkgs; [
nerd-fonts.jetbrains-mono
material-design-icons
material-symbols
(inputs.font-patcher.lib.patchFont {
font = pkgs.googlesans-code;
name = "Google Sans Code Nerd Font - Regular";
subfamily = "Regular";
inherit system;
})
nerd-fonts.caskaydia-cove
nerd-fonts.noto
noto-fonts-cjk-sans
noto-fonts-cjk-serif
];
packages =
with pkgs;
[
nerd-fonts.jetbrains-mono
material-design-icons
material-symbols
googlesans-code
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;
};