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:
parent
978ba8a187
commit
6dfa63cff6
|
@ -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,48 +207,47 @@
|
|||
name = "volantes_cursors";
|
||||
size = 32;
|
||||
};
|
||||
fonts =
|
||||
let
|
||||
proportional = {
|
||||
package = inputs.iosevka-custom.outputs.packages.${pkgs.system}.iosevka-custom-aile;
|
||||
name = inputs.iosevka-custom.outputs.names.iosevka-custom-aile;
|
||||
};
|
||||
monospace = {
|
||||
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;
|
||||
popups = 16;
|
||||
terminal = 12;
|
||||
};
|
||||
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;
|
||||
};
|
||||
monospace = {
|
||||
package = inputs.iosevka-custom.outputs.packages.${pkgs.system}.iosevka-custom-nerdfont;
|
||||
name = inputs.iosevka-custom.outputs.names.iosevka-custom-nerdfont;
|
||||
};
|
||||
sizes = {
|
||||
applications = 12;
|
||||
desktop = 14;
|
||||
popups = 16;
|
||||
terminal = 12;
|
||||
};
|
||||
};
|
||||
};
|
||||
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 ];
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue