2022-03-10 20:59:18 +01:00
|
|
|
{ pkgs, lib, ... }:
|
2022-01-30 13:54:23 +01:00
|
|
|
let
|
2022-03-13 11:46:00 +01:00
|
|
|
theme = pkgs.myThemes.current;
|
2022-02-07 11:47:03 +01:00
|
|
|
in
|
|
|
|
{
|
2022-03-10 20:59:18 +01:00
|
|
|
imports = [
|
|
|
|
{
|
2022-03-13 11:46:00 +01:00
|
|
|
# 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-05-10 18:00:16 +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"; };
|
2022-09-18 01:09:58 +02:00
|
|
|
working_directory = "/home/adrielus/Projects/";
|
2022-09-18 01:00:32 +02:00
|
|
|
};
|
2020-04-12 12:45:29 +02:00
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|