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