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

feat: nixd, lix -> nix, update fonts

This commit is contained in:
Ryan Cao 2024-06-17 10:45:28 +08:00
parent e9455b9098
commit 3404601a4a
Signed by: ryanccn
SSH key fingerprint: SHA256:NtP/BlVhoQq4xU6BEcZeT8nIPvHntkJ3lIc2yB+F09E
8 changed files with 91 additions and 64 deletions

View file

@ -5,12 +5,19 @@
ibm-plex
ryan-mono-bin
ryan-term-bin
# Install the variable fonts for Cascadia Code (which
# are recommended) instead of the static fonts
(cascadia-code.overrideAttrs {
installPhase = ''
runHook preInstall
install -Dm644 ttf/*.ttf -t $out/share/fonts/truetype
runHook postInstall
'';
})
(nerdfonts.override {
fonts = [
"CascadiaCode"
"NerdFontsSymbolsOnly"
];
fonts = ["NerdFontsSymbolsOnly"];
})
];
}