83 lines
2.2 KiB
Nix
Raw Normal View History

2020-08-10 01:17:22 +04:00
{ pkgs, lib, config, ... }:
let
thm = config.lib.base16.theme;
in
2021-06-16 05:30:04 +03:00
with config.deviceSpecific;
2020-08-10 01:17:22 +04:00
{
2021-09-28 01:48:50 +03:00
# defaultApplications.term = lib.mkIf (isDesktop) {
# cmd = "${pkgs.alacritty}/bin/alacritty";
# desktop = "alacritty";
# };
2020-08-10 01:17:22 +04:00
home-manager.users.alukard = {
programs.alacritty = {
2021-09-28 01:48:50 +03:00
# enable = isDesktop;
enable = false;
2020-08-10 01:17:22 +04:00
settings = {
font = {
normal = {
2021-09-16 01:03:52 +03:00
family = "${thm.fonts.powerline.family}";
2020-08-10 01:17:22 +04:00
style = "Regular";
};
bold = {
2021-09-16 01:03:52 +03:00
family = "${thm.fonts.powerline.family}";
2020-08-10 01:17:22 +04:00
style = "Bold";
};
italic = {
2021-09-16 01:03:52 +03:00
family = "${thm.fonts.powerline.family}";
2020-08-10 01:17:22 +04:00
style = "Italic";
};
bold_italic = {
2021-09-16 01:03:52 +03:00
family = "${thm.fonts.powerline.family}";
2020-08-10 01:17:22 +04:00
style = "Bold Italic";
};
2021-09-16 01:03:52 +03:00
size = thm.fontSizes.small.int;
2020-08-10 01:17:22 +04:00
};
window.padding = {
x = 2;
y = 2;
};
shell.program = "${pkgs.zsh}/bin/zsh";
cursor.style = "Beam";
colors = {
primary = {
2020-08-15 19:36:16 +04:00
background = "#${thm.base00-hex}";
foreground = "#${thm.base05-hex}";
2020-08-10 01:17:22 +04:00
};
cursor = {
2021-09-15 18:39:02 +03:00
text = "#${thm.base02-hex}";
cursor = "#${thm.base00-hex}";
2020-08-10 01:17:22 +04:00
};
normal = {
2020-08-15 19:36:16 +04:00
black = "#${thm.base00-hex}";
red = "#${thm.base08-hex}";
green = "#${thm.base0B-hex}";
yellow = "#${thm.base0A-hex}";
blue = "#${thm.base0D-hex}";
magenta = "#${thm.base0E-hex}";
cyan = "#${thm.base0C-hex}";
white = "#${thm.base05-hex}";
2020-08-10 01:17:22 +04:00
};
bright = {
2020-08-15 19:36:16 +04:00
black = "#${thm.base03-hex}";
red = "#${thm.base09-hex}";
green = "#${thm.base01-hex}";
yellow = "#${thm.base02-hex}";
blue = "#${thm.base04-hex}";
magenta = "#${thm.base06-hex}";
cyan = "#${thm.base0F-hex}";
white = "#${thm.base07-hex}";
2020-08-10 01:17:22 +04:00
};
draw_bold_text_with_bright_colors = "false";
2020-08-15 19:36:16 +04:00
};
2020-08-10 01:17:22 +04:00
2020-08-15 19:36:16 +04:00
env = {
WINIT_X11_SCALE_FACTOR = "1.0";
2020-08-10 01:17:22 +04:00
};
};
};
};
}