Merge pull request #6 from Lyndeno/alacritty

Add font config to alacritty
This commit is contained in:
Daniel Thwaites 2022-07-21 21:04:39 +01:00 committed by GitHub
commit 989fe8857c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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 ];
};
}];
}