docs: add README.md
This commit is contained in:
parent
fe1d9adfa8
commit
1c2b263904
19 changed files with 241 additions and 73 deletions
|
|
@ -1,25 +1,37 @@
|
|||
{ pkgs, nix-version, ... }:
|
||||
let
|
||||
nerdfont-pkg = if nix-version == "25.05" then pkgs.nerd-fonts.caskaydia-cove else (pkgs.nerdfonts.override { fonts = [ "CascadiaCode" ]; });
|
||||
nerdfont-pkg =
|
||||
if nix-version == "25.05" then
|
||||
pkgs.nerd-fonts.caskaydia-cove
|
||||
else
|
||||
(pkgs.nerdfonts.override { fonts = [ "CascadiaCode" ]; });
|
||||
in
|
||||
{
|
||||
fonts.packages = (with pkgs; [
|
||||
font-awesome
|
||||
jetbrains-mono
|
||||
noto-fonts-cjk-sans
|
||||
noto-fonts-cjk-serif
|
||||
noto-fonts-emoji
|
||||
]) ++ ([
|
||||
nerdfont-pkg
|
||||
]);
|
||||
fonts.packages =
|
||||
(with pkgs; [
|
||||
font-awesome
|
||||
jetbrains-mono
|
||||
noto-fonts-cjk-sans
|
||||
noto-fonts-cjk-serif
|
||||
noto-fonts-emoji
|
||||
])
|
||||
++ ([
|
||||
nerdfont-pkg
|
||||
]);
|
||||
|
||||
fonts.fontDir.enable = true;
|
||||
|
||||
fonts.fontconfig = {
|
||||
enable = true;
|
||||
defaultFonts = {
|
||||
serif = [ "CaskaydiaCove Nerd Font" "Noto Sans CJK" ];
|
||||
sansSerif = [ "CaskaydiaCove Nerd Font" "Noto Sans CJK" ];
|
||||
serif = [
|
||||
"CaskaydiaCove Nerd Font"
|
||||
"Noto Sans CJK"
|
||||
];
|
||||
sansSerif = [
|
||||
"CaskaydiaCove Nerd Font"
|
||||
"Noto Sans CJK"
|
||||
];
|
||||
monospace = [ "CaskaydiaCove Nerd Font Mono" ];
|
||||
};
|
||||
cache32Bit = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue