48 lines
990 B
Nix
48 lines
990 B
Nix
{ config, pkgs, lib, ... }: {
|
|
defaultApplications.term = {
|
|
cmd = "${pkgs.alacritty}/bin/alacritty";
|
|
desktop = "alacritty";
|
|
};
|
|
home-manager.users.balsoft.programs.alacritty = {
|
|
enable = true;
|
|
settings = {
|
|
|
|
font = rec {
|
|
normal.family = config.themes.fonts.mono.family;
|
|
size = config.themes.fonts.mono.size;
|
|
bold = { style = "Bold"; };
|
|
};
|
|
|
|
window.padding = {
|
|
x = 2;
|
|
y = 2;
|
|
};
|
|
|
|
shell.program = "${pkgs.zsh}/bin/zsh";
|
|
|
|
cursor.style = "Beam";
|
|
|
|
colors = with pkgs.my-lib.thmHash; {
|
|
primary = {
|
|
background = base00;
|
|
foreground = base05;
|
|
};
|
|
cursor = {
|
|
text = base02;
|
|
cursor = base00;
|
|
};
|
|
normal = {
|
|
black = base00;
|
|
red = base08;
|
|
green = base0B;
|
|
yellow = base0A;
|
|
blue = base0D;
|
|
magenta = base0E;
|
|
white = base07;
|
|
};
|
|
};
|
|
};
|
|
};
|
|
|
|
}
|