1
0
Fork 0
mirror of https://github.com/ryanccn/flake.git synced 2025-12-06 08:10:43 +01:00

feat: update fonts

This commit is contained in:
Ryan Cao 2023-11-27 19:20:49 +08:00
parent 92e68180de
commit 114904b700
Signed by: ryanccn
SSH key fingerprint: SHA256:NtP/BlVhoQq4xU6BEcZeT8nIPvHntkJ3lIc2yB+F09E
5 changed files with 24 additions and 23 deletions

30
flake.lock generated
View file

@ -86,11 +86,11 @@
"rust-analyzer-src": "rust-analyzer-src" "rust-analyzer-src": "rust-analyzer-src"
}, },
"locked": { "locked": {
"lastModified": 1700893250, "lastModified": 1701066187,
"narHash": "sha256-Dj+UarvFkqQyykEgPYLIB9U4Tyc4bsTkRgIZWmnZQwc=", "narHash": "sha256-WP2sUVcjM4uuCBnw2r++6Rnuqzd4iZ7oh/o7AarPjIM=",
"owner": "nix-community", "owner": "nix-community",
"repo": "fenix", "repo": "fenix",
"rev": "4ef52d5432c4b1aff96c7c62349e63a1b04c934e", "rev": "bec77b7f219319a49dc1885490236714b023d19c",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -168,11 +168,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1700847865, "lastModified": 1701071203,
"narHash": "sha256-uWaOIemGl9LF813MW0AEgCBpKwFo2t1Wv3BZc6e5Frw=", "narHash": "sha256-lQywA7QU/vzTdZ1apI0PfgCWNyQobXUYghVrR5zuIeM=",
"owner": "nix-community", "owner": "nix-community",
"repo": "home-manager", "repo": "home-manager",
"rev": "8cedd63eede4c22deb192f1721dd67e7460e1ebe", "rev": "db1878f013b52ba5e4034db7c1b63e8d04173a86",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -243,11 +243,11 @@
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1700856099, "lastModified": 1701040486,
"narHash": "sha256-RnEA7iJ36Ay9jI0WwP+/y4zjEhmeN6Cjs9VOFBH7eVQ=", "narHash": "sha256-vawYwoHA5CwvjfqaT3A5CT9V36Eq43gxdwpux32Qkjw=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "0bd59c54ef06bc34eca01e37d689f5e46b3fe2f1", "rev": "45827faa2132b8eade424f6bdd48d8828754341a",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -319,11 +319,11 @@
"rust-analyzer-src": { "rust-analyzer-src": {
"flake": false, "flake": false,
"locked": { "locked": {
"lastModified": 1700846068, "lastModified": 1700997114,
"narHash": "sha256-Pei4FtSmhZkkP5PUHMFToPbhLV5TpiZOOclJGBTH3gE=", "narHash": "sha256-pOz99NESIGosyt19tqNw7gfS6NQJtFY0kGF3rFV0bZ0=",
"owner": "rust-lang", "owner": "rust-lang",
"repo": "rust-analyzer", "repo": "rust-analyzer",
"rev": "34cffbf1d75fb6b5cb6bc68a9854b20dc74f135d", "rev": "237712fa314237e428e7ef2ab83b979f928a43a1",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -343,11 +343,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1700878361, "lastModified": 1701051362,
"narHash": "sha256-O30hSOliHJhSdhZw5T8JFtxlL309mNLI+agYffuccIo=", "narHash": "sha256-3dXjewnLylWGZKNshIV0eiabhIDjcUNXC5zRKcm0TxY=",
"owner": "oxalica", "owner": "oxalica",
"repo": "rust-overlay", "repo": "rust-overlay",
"rev": "0309d58c91c57e8d519de68312430074de3ef5f8", "rev": "055d3d2ea161dfc6ca569f2f135a107f48cf483e",
"type": "github" "type": "github"
}, },
"original": { "original": {

View file

@ -85,8 +85,9 @@ in {
"git.suggestSmartCommit" = false; "git.suggestSmartCommit" = false;
"diffEditor.ignoreTrimWhitespace" = false; "diffEditor.ignoreTrimWhitespace" = false;
"editor.fontFamily" = "\"CaskaydiaCove NF\", monospace"; "editor.fontFamily" = "\"RyanMono Nerd Font\", monospace";
"editor.fontLigatures" = "'calt', 'ss01'"; "editor.fontLigatures" = true;
# "editor.fontLigatures" = "'calt', 'ss01'";
"editor.fontSize" = 16; "editor.fontSize" = 16;
"editor.lineHeight" = 1.5; "editor.lineHeight" = 1.5;
"editor.cursorSmoothCaretAnimation" = "on"; "editor.cursorSmoothCaretAnimation" = "on";
@ -100,7 +101,7 @@ in {
"editor.insertSpaces" = true; "editor.insertSpaces" = true;
"editor.formatOnSave" = true; "editor.formatOnSave" = true;
"terminal.integrated.fontFamily" = "\"CaskaydiaCove NFM\", monospace"; "terminal.integrated.fontFamily" = "\"RyanTerm Nerd Font\", monospace";
"terminal.integrated.fontSize" = 14; "terminal.integrated.fontSize" = 14;
"terminal.integrated.lineHeight" = 1.5; "terminal.integrated.lineHeight" = 1.5;
"terminal.integrated.cursorBlinking" = true; "terminal.integrated.cursorBlinking" = true;

View file

@ -2,9 +2,9 @@
home.packages = with pkgs; [ home.packages = with pkgs; [
inter inter
public-sans public-sans
inriafonts
ibm-plex ibm-plex
monaspace
ryan-mono-bin ryan-mono-bin
ryan-term-bin ryan-term-bin
commit-mono commit-mono

View file

@ -1,3 +1,3 @@
{...}: { _: {
programs.glamour.catppuccin.enable = true; programs.glamour.catppuccin.enable = true;
} }

View file

@ -1,5 +1,5 @@
(_: prev: let (_: prev: let
version = "2023.10.22"; version = "2023.11.26";
mkFontVariant = { mkFontVariant = {
variant, variant,
@ -35,11 +35,11 @@
in { in {
ryan-mono-bin = mkFontVariant { ryan-mono-bin = mkFontVariant {
variant = "ryan-mono"; variant = "ryan-mono";
hash = "sha256-qF0dWDlhWZVIi/HIuRMpmQM+fD6pdQViwehHe6WXTmo="; hash = "sha256-hA9Z1SOD9Ij1sPSyHXg9SUMPuJqKnocYfXwCTMAgJJU=";
}; };
ryan-term-bin = mkFontVariant { ryan-term-bin = mkFontVariant {
variant = "ryan-term"; variant = "ryan-term";
hash = "sha256-X6u5A0CnaZvAw/yP/3ERWUYM9USFAaHj8akayedwnLM="; hash = "sha256-j/1wvyN60m7SlUV0c6tk2jgj53EEgWEJMcCOvbrAkVI=";
}; };
}) })