home: switch font to Iosevka for emacs/term
This commit is contained in:
parent
b538eec36f
commit
ee7f2eb7bd
|
@ -1,4 +1,4 @@
|
|||
{ config, lib, ... }:
|
||||
{ config, lib, pkgs, ... }:
|
||||
let
|
||||
cfg = config.my.home.alacritty;
|
||||
alacrittyTheme = config.my.theme.alacrittyTheme;
|
||||
|
@ -6,7 +6,8 @@ in
|
|||
{
|
||||
options.my.home.alacritty.enable = lib.mkEnableOption "Alacritty terminal";
|
||||
|
||||
config.programs.alacritty = lib.mkIf cfg.enable {
|
||||
config = lib.mkIf cfg.enable {
|
||||
programs.alacritty = {
|
||||
enable = true;
|
||||
|
||||
settings = {
|
||||
|
@ -19,12 +20,20 @@ in
|
|||
|
||||
font = {
|
||||
normal = {
|
||||
family = "Input Mono Narrow";
|
||||
family = "Iosevka Fixed";
|
||||
style = "Medium";
|
||||
};
|
||||
size = 9.0;
|
||||
size = 10.0;
|
||||
};
|
||||
|
||||
colors = alacrittyTheme;
|
||||
};
|
||||
};
|
||||
|
||||
home.packages = with pkgs; [
|
||||
iosevka-bin
|
||||
];
|
||||
# make sure font is discoverable
|
||||
fonts.fontconfig.enable = true;
|
||||
};
|
||||
}
|
||||
|
|
|
@ -9,8 +9,8 @@
|
|||
sqlite # needed by org-roam
|
||||
|
||||
# fonts used by my config
|
||||
input-fonts
|
||||
emacs-all-the-icons-fonts
|
||||
iosevka-bin
|
||||
];
|
||||
# make sure above fonts are discoverable
|
||||
fonts.fontconfig.enable = true;
|
||||
|
|
Loading…
Reference in a new issue