2023-01-12 20:49:08 +01:00
|
|
|
{ config, pkgs, ... }:
|
|
|
|
let base16-alacritty = pkgs.fetchFromGitHub {
|
|
|
|
owner = "aarowill";
|
|
|
|
repo = "base16-alacritty";
|
|
|
|
sha256 = "0zibl9kzazckkyzb6j0iabrl82r1kgwg8ndqpy7dz0kwmj42wfx0";
|
|
|
|
rev = "914727e48ebf3eab1574e23ca0db0ecd0e5fe9d0";
|
|
|
|
};
|
|
|
|
in
|
|
|
|
{
|
|
|
|
programs.alacritty = {
|
|
|
|
enable = true;
|
|
|
|
|
|
|
|
settings = {
|
|
|
|
import = [ (config.scheme base16-alacritty) ];
|
|
|
|
|
|
|
|
window.decorations = "none";
|
|
|
|
window.padding = {
|
|
|
|
x = 4;
|
|
|
|
y = 4;
|
|
|
|
};
|
|
|
|
|
|
|
|
fonts.normal.family = config.fontProfiles.monospace.family;
|
|
|
|
|
2023-01-16 17:03:29 +01:00
|
|
|
env = { TERM = "tmux-256color"; };
|
2023-01-12 20:49:08 +01:00
|
|
|
working_directory = "${config.home.homeDirectory}/Projects/";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|