added: google sans code font (nerds font)
This commit is contained in:
10
flake.lock
generated
10
flake.lock
generated
@@ -289,15 +289,15 @@
|
|||||||
"nixpkgs": "nixpkgs"
|
"nixpkgs": "nixpkgs"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1708808339,
|
"lastModified": 1765841187,
|
||||||
"narHash": "sha256-D0mBcKoDjL6D0rSp1Xw0X5PsHDDvuzV77R0FcLM6RoE=",
|
"narHash": "sha256-EDNulMxDxJfhk9cJdYv0KPU1hAKrTcMbSFUcOFhgBws=",
|
||||||
"owner": "libc",
|
"owner": "Doloro1978",
|
||||||
"repo": "nix-nerd-fonts-patcher",
|
"repo": "nix-nerd-fonts-patcher",
|
||||||
"rev": "2eb143b6b9fa0a937b267233c374bb403410a09a",
|
"rev": "eaf93a869699796be559fbaa2b4351c53d7f4cf2",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"owner": "libc",
|
"owner": "Doloro1978",
|
||||||
"repo": "nix-nerd-fonts-patcher",
|
"repo": "nix-nerd-fonts-patcher",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -47,7 +47,7 @@
|
|||||||
nixpkgs-gamescope = {
|
nixpkgs-gamescope = {
|
||||||
url = "github:Nixos/nixpkgs?rev=8fcb6f1c4948305af52d19f887b89011ee2c080d";
|
url = "github:Nixos/nixpkgs?rev=8fcb6f1c4948305af52d19f887b89011ee2c080d";
|
||||||
};
|
};
|
||||||
font-patcher.url = "github:libc/nix-nerd-fonts-patcher";
|
font-patcher.url = "github:Doloro1978/nix-nerd-fonts-patcher";
|
||||||
};
|
};
|
||||||
outputs =
|
outputs =
|
||||||
inputs@{
|
inputs@{
|
||||||
|
|||||||
@@ -26,12 +26,11 @@
|
|||||||
nerd-fonts.jetbrains-mono
|
nerd-fonts.jetbrains-mono
|
||||||
material-design-icons
|
material-design-icons
|
||||||
material-symbols
|
material-symbols
|
||||||
(inputs.font-patcher.lib.patchFont {
|
googlesans-code
|
||||||
font = pkgs.googlesans-code;
|
# (inputs.font-patcher.lib.patchFont {
|
||||||
name = "Google Sans Code Nerd Font - Regular";
|
# font = pkgs.googlesans-code;
|
||||||
subfamily = "Regular";
|
# name = "Google Sans Code Nerd Font";
|
||||||
inherit system;
|
# })
|
||||||
})
|
|
||||||
nerd-fonts.caskaydia-cove
|
nerd-fonts.caskaydia-cove
|
||||||
nerd-fonts.noto
|
nerd-fonts.noto
|
||||||
noto-fonts-cjk-sans
|
noto-fonts-cjk-sans
|
||||||
|
|||||||
@@ -151,20 +151,24 @@ in
|
|||||||
|
|
||||||
fonts = {
|
fonts = {
|
||||||
enableDefaultPackages = true;
|
enableDefaultPackages = true;
|
||||||
packages = with pkgs; [
|
packages =
|
||||||
|
with pkgs;
|
||||||
|
[
|
||||||
nerd-fonts.jetbrains-mono
|
nerd-fonts.jetbrains-mono
|
||||||
material-design-icons
|
material-design-icons
|
||||||
material-symbols
|
material-symbols
|
||||||
(inputs.font-patcher.lib.patchFont {
|
googlesans-code
|
||||||
font = pkgs.googlesans-code;
|
|
||||||
name = "Google Sans Code Nerd Font - Regular";
|
|
||||||
subfamily = "Regular";
|
|
||||||
inherit system;
|
|
||||||
})
|
|
||||||
nerd-fonts.caskaydia-cove
|
nerd-fonts.caskaydia-cove
|
||||||
nerd-fonts.noto
|
nerd-fonts.noto
|
||||||
noto-fonts-cjk-sans
|
noto-fonts-cjk-sans
|
||||||
noto-fonts-cjk-serif
|
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;
|
fontDir.enable = true;
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -50,7 +50,7 @@ in
|
|||||||
main = {
|
main = {
|
||||||
term = "xterm-256color";
|
term = "xterm-256color";
|
||||||
|
|
||||||
font = "CaskaydiaCove Nerd Font Mono:size=12";
|
font = "Google Sans Code Nerd Font:size=11";
|
||||||
};
|
};
|
||||||
|
|
||||||
mouse = {
|
mouse = {
|
||||||
|
|||||||
Reference in New Issue
Block a user