Initial alacritty module

This commit is contained in:
Lyndon Sanche 2022-07-20 07:52:39 -06:00
parent f78eff2236
commit c3a39e1e32
No known key found for this signature in database
GPG key ID: 6F8E82F60C799B18

16
modules/alacritty.nix Normal file
View file

@ -0,0 +1,16 @@
{pkgs, config, lib, ... }:
let
themeFile = config.lib.stylix.colors {
templateRepo = pkgs.fetchFromGitHub {
owner = "aarowill";
repo = "base16-alacritty";
rev = "914727e48ebf3eab1574e23ca0db0ecd0e5fe9d0";
sha256 = lib.fakeSha256;
};
};
in
{
home-manager.sharedModules = [{
programs.alacritty.settings.import = [ themeFile ];
};
}