added: google sans code font (nerds font)
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user