Files
Nomarchy/modules/home/alacritty.nix
Bernardo Magri 90e1a21701 feat(home): enhance user environment and dynamic theming
- Implement dynamic palette generation from colors.toml themes
- Update script wrapper to handle non-executable source files
- Integrate Stylix for unified application theming
- Add state-based logic for persistent dynamic configurations
2026-04-03 21:07:12 +01:00

34 lines
946 B
Nix

{ config, pkgs, lib, ... }:
{
programs.alacritty = {
enable = true;
settings = {
general.import = [ "~/.config/nomarchy/current/theme/alacritty.toml" ];
env = {
TERM = "xterm-256color";
};
terminal = {
osc52 = "CopyPaste";
};
font = {
normal = { family = config.nomarchy.fonts.monospace; style = "Regular"; };
bold = { family = config.nomarchy.fonts.monospace; style = "Bold"; };
italic = { family = config.nomarchy.fonts.monospace; style = "Italic"; };
size = lib.mkForce 9;
};
window = {
padding = { x = 14; y = 14; };
decorations = "None";
};
keyboard = {
bindings = [
{ key = "Insert"; mods = "Shift"; action = "Paste"; }
{ key = "Insert"; mods = "Control"; action = "Copy"; }
{ key = "Return"; mods = "Shift"; chars = "\\u001B\\r"; }
];
};
};
};
}