Add Iosevka Etoile to configured fonts

Clean up font config as bit as well.

Add my nix cache to nix config substituters as well as flake hinting.

Add distrobox package.
This commit is contained in:
Evie Litherland-Smith 2024-09-27 10:20:53 +01:00
parent 978ba8a187
commit 6dfa63cff6

View file

@ -29,6 +29,8 @@
"flakes" "flakes"
]; ];
auto-optimise-store = true; auto-optimise-store = true;
substituters = [ "https://nix.xenia.me.uk" ];
trusted-public-keys = [ "nix.xenia.me.uk:tlgwOaG5KMLjQUk2YaErS8mAG69ZCr3PaHXZYi+Y5eI=" ];
}; };
channel.enable = true; channel.enable = true;
gc = { gc = {
@ -164,6 +166,7 @@
dig dig
wireguard-tools wireguard-tools
quickemu quickemu
distrobox
]; ];
localBinInPath = true; localBinInPath = true;
}; };
@ -204,9 +207,12 @@
name = "volantes_cursors"; name = "volantes_cursors";
size = 32; size = 32;
}; };
fonts = fonts = {
let serif = {
proportional = { package = inputs.iosevka-custom.outputs.packages.${pkgs.system}.iosevka-custom-etoile;
name = inputs.iosevka-custom.outputs.names.iosevka-custom-etoile;
};
sansSerif = {
package = inputs.iosevka-custom.outputs.packages.${pkgs.system}.iosevka-custom-aile; package = inputs.iosevka-custom.outputs.packages.${pkgs.system}.iosevka-custom-aile;
name = inputs.iosevka-custom.outputs.names.iosevka-custom-aile; name = inputs.iosevka-custom.outputs.names.iosevka-custom-aile;
}; };
@ -214,11 +220,6 @@
package = inputs.iosevka-custom.outputs.packages.${pkgs.system}.iosevka-custom-nerdfont; package = inputs.iosevka-custom.outputs.packages.${pkgs.system}.iosevka-custom-nerdfont;
name = inputs.iosevka-custom.outputs.names.iosevka-custom-nerdfont; name = inputs.iosevka-custom.outputs.names.iosevka-custom-nerdfont;
}; };
in
{
inherit monospace;
serif = proportional;
sansSerif = proportional;
sizes = { sizes = {
applications = 12; applications = 12;
desktop = 14; desktop = 14;
@ -229,23 +230,24 @@
}; };
fonts = { fonts = {
packages = packages =
(with inputs.iosevka-custom.outputs.packages.${pkgs.system}; [ (with config.stylix.fonts; [
iosevka-custom-nerdfont serif.package
iosevka-custom-aile sansSerif.package
monospace.package
emoji.package
]) ])
++ (with pkgs; [ ++ (with pkgs; [
lmodern # LaTeX lmodern # LaTeX
noto-fonts-emoji # Emoji
font-awesome # Swappy Icons font-awesome # Swappy Icons
(nerdfonts.override { fonts = [ "NerdFontsSymbolsOnly" ]; }) (nerdfonts.override { fonts = [ "NerdFontsSymbolsOnly" ]; })
]); ]);
fontconfig = { fontconfig = {
enable = true; enable = true;
defaultFonts = with inputs.iosevka-custom.outputs.names; { defaultFonts = with config.stylix.fonts; {
serif = [ iosevka-custom-aile ]; serif = [ serif.name ];
sansSerif = [ iosevka-custom-aile ]; sansSerif = [ sansSerif.name ];
monospace = [ iosevka-custom-nerdfont ]; monospace = [ monospace.name ];
emoji = [ "Noto Color Emoji" ]; emoji = [ emoji.name ];
}; };
}; };
}; };