1
Fork 0
satellite/modules/applications/alacritty.nix

32 lines
663 B
Nix
Raw Normal View History

2022-03-10 20:59:18 +01:00
{ pkgs, lib, ... }:
let
theme = pkgs.myThemes.current;
2022-02-07 11:47:03 +01:00
in
{
2022-03-10 20:59:18 +01:00
imports = [
{
# Load theme
home-manager.users.adrielus.programs.alacritty.settings = theme.alacritty.settings;
2022-03-10 20:59:18 +01:00
}
];
2020-04-12 12:45:29 +02:00
2022-09-18 01:00:32 +02:00
home-manager.users.adrielus = {
xdg.configFile."alacritty/extraConfig.yml".text = theme.alacritty.extraConfig or "";
programs.alacritty = {
enable = true;
settings = {
import = [ "~/.config/alacritty/extraConfig.yml" ];
window.decorations = "none";
fonts.normal.family = "Nerd Font Source Code Pro";
env = { TERM = "xterm-256color"; };
working_directory = "~/Projects";
};
2020-04-12 12:45:29 +02:00
};
};
}