Files
Nomarchy/features/apps/alacritty/default.nix
Bernardo Magri e6b7269b3c
All checks were successful
Check / eval-and-lint (push) Successful in 6m39s
feat: move core apps to downstream and make app modules opt-in
2026-05-31 15:44:50 +01:00

29 lines
708 B
Nix

{ config, pkgs, lib, ... }:
{
config = lib.mkIf config.nomarchy.apps.alacritty.enable {
programs.alacritty = {
enable = lib.mkDefault true;
settings = lib.mkDefault {
env = {
TERM = "xterm-256color";
};
terminal = {
osc52 = "CopyPaste";
};
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"; }
];
};
};
};
};
}