Add custom Iosevka (font) build for testing before I switch
This commit is contained in:
parent
b3988f8eae
commit
5b3a541c08
52
flake.nix
52
flake.nix
|
@ -46,7 +46,33 @@
|
|||
./hosts/${hostName}/hardware-configuration.nix
|
||||
home-manager.nixosModules.home-manager
|
||||
stylix.nixosModules.stylix
|
||||
({ config, lib, pkgs, ... }: {
|
||||
({ config, lib, pkgs, ... }:
|
||||
let
|
||||
iosevka-custom = pkgs.iosevka.override {
|
||||
set = "custom";
|
||||
privateBuildPlan = {
|
||||
family = "Iosevka Custom";
|
||||
spacing = "normal";
|
||||
serifs = "sans";
|
||||
noCvSs = false;
|
||||
exportGlyphNames = false;
|
||||
variants = { inherits = "ss05"; };
|
||||
ligations = { inherits = "dlig"; };
|
||||
widths = {
|
||||
Condensed = {
|
||||
shape = 500;
|
||||
menu = 3;
|
||||
css = "condensed";
|
||||
};
|
||||
Normal = {
|
||||
shape = 600;
|
||||
menu = 5;
|
||||
css = "normal";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
in {
|
||||
boot.loader = {
|
||||
systemd-boot.enable = true;
|
||||
efi.canTouchEfiVariables = true;
|
||||
|
@ -123,37 +149,33 @@
|
|||
};
|
||||
fonts = rec {
|
||||
sizes.terminal = 12;
|
||||
emoji = {
|
||||
name = "Noto Color Emoji";
|
||||
package = pkgs.noto-fonts-emoji;
|
||||
serif = sansSerif;
|
||||
sansSerif = {
|
||||
name = "Fira Sans";
|
||||
package = pkgs.fira;
|
||||
};
|
||||
monospace = {
|
||||
name = "FiraCode Nerd Font";
|
||||
package =
|
||||
(pkgs.nerdfonts.override { fonts = [ "FiraCode" ]; });
|
||||
};
|
||||
sansSerif = {
|
||||
name = "Fira Sans";
|
||||
package = pkgs.fira;
|
||||
emoji = {
|
||||
name = "Noto Color Emoji";
|
||||
package = pkgs.noto-fonts-emoji;
|
||||
};
|
||||
serif = sansSerif;
|
||||
};
|
||||
homeManagerIntegration.followSystem = true;
|
||||
};
|
||||
fonts = {
|
||||
packages = with pkgs; [
|
||||
fira
|
||||
fira-mono
|
||||
fira-code
|
||||
(nerdfonts.override {
|
||||
fonts = [ "FiraCode" "NerdFontsSymbolsOnly" ];
|
||||
})
|
||||
(nerdfonts.override { fonts = [ "NerdFontsSymbolsOnly" ]; })
|
||||
iosevka
|
||||
# iosevka-custom
|
||||
emacs-all-the-icons-fonts
|
||||
weather-icons
|
||||
noto-fonts
|
||||
noto-fonts-cjk
|
||||
noto-fonts-emoji
|
||||
liberation_ttf
|
||||
];
|
||||
fontconfig.enable = true;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue