Add font config to alacritty

This commit is contained in:
Lyndon Sanche 2022-07-20 12:50:10 -06:00
parent 458d0d3719
commit 084b7b993a
No known key found for this signature in database
GPG key ID: 6F8E82F60C799B18

View file

@ -1,4 +1,7 @@
{pkgs, config, lib, ... }:
with config.stylix.fonts;
let
themeFile = config.lib.stylix.colors {
templateRepo = pkgs.fetchFromGitHub {
@ -11,6 +14,14 @@ let
in
{
home-manager.sharedModules = [{
programs.alacritty.settings.import = [ themeFile ];
programs.alacritty.settings = {
font = {
normal = {
family = monospace.name;
style = "Regular";
};
};
import = [ themeFile ];
};
}];
}