92 lines
2.4 KiB
Nix
92 lines
2.4 KiB
Nix
![]() |
{ config, lib, pkgs, ... }:
|
||
|
let
|
||
|
username = config.modules.other.system.username;
|
||
|
in
|
||
|
{
|
||
|
home-manager.users.${username} = {
|
||
|
programs = {
|
||
|
alacritty = {
|
||
|
enable = true;
|
||
|
};
|
||
|
alacritty.settings = {
|
||
|
shell = {
|
||
|
program = "zsh";
|
||
|
};
|
||
|
font.normal.family = "JetBrainsMono Nerd Font";
|
||
|
font.bold.family = "JetBrainsMono Nerd Font";
|
||
|
font.italic.family = "JetBrainsMono Nerd Font";
|
||
|
font.bold_italic.family = "JetBrainsMono Nerd Font";
|
||
|
window.opacity = 0.8;
|
||
|
# TODO: maybe use a different way to manage the theme
|
||
|
colors = {
|
||
|
primary = {
|
||
|
background = "#282a36";
|
||
|
foreground = "#f8f8f2";
|
||
|
bright_foreground = "#ffffff";
|
||
|
};
|
||
|
cursor = {
|
||
|
text = "CellBackground";
|
||
|
cursor = "CellForeground";
|
||
|
};
|
||
|
vi_mode_cursor = {
|
||
|
text = "CellBackground";
|
||
|
cursor = "CellForeground";
|
||
|
};
|
||
|
search = {
|
||
|
matches = {
|
||
|
foreground = "#44475a";
|
||
|
background = "#50fa7b";
|
||
|
};
|
||
|
focused_match = {
|
||
|
foreground = "#44475a";
|
||
|
background = "#ffb86c";
|
||
|
};
|
||
|
};
|
||
|
footer_bar = {
|
||
|
background = "#282a36";
|
||
|
foreground = "#f8f8f2";
|
||
|
};
|
||
|
hints = {
|
||
|
start = {
|
||
|
foreground = "#282a36";
|
||
|
background = "#f1fa8c";
|
||
|
};
|
||
|
end = {
|
||
|
foreground = "#f1fa8c";
|
||
|
background = "#282a36";
|
||
|
};
|
||
|
};
|
||
|
line_indicator = {
|
||
|
foreground = "None";
|
||
|
background = "None";
|
||
|
};
|
||
|
selection = {
|
||
|
text = "CellForeground";
|
||
|
background = "#44475a";
|
||
|
};
|
||
|
normal = {
|
||
|
black = "#21222c";
|
||
|
red = "#ff5555";
|
||
|
green = "#50fa7b";
|
||
|
yellow = "#f1fa8c";
|
||
|
blue = "#bd93f9";
|
||
|
magenta = "#ff79c6";
|
||
|
cyan = "#8be9fd";
|
||
|
white = "#f8f8f2";
|
||
|
};
|
||
|
bright = {
|
||
|
black = "#6272a4";
|
||
|
red = "#ff6e6e";
|
||
|
green = "#69ff94";
|
||
|
yellow = "#ffffa5";
|
||
|
blue = "#d6acff";
|
||
|
magenta = "#ff92df";
|
||
|
cyan = "#a4ffff";
|
||
|
white = "#ffffff";
|
||
|
};
|
||
|
};
|
||
|
};
|
||
|
};
|
||
|
};
|
||
|
}
|