mirror of
https://github.com/nix-community/home-manager
synced 2024-12-27 12:19:48 +01:00
33 lines
527 B
Nix
33 lines
527 B
Nix
|
{ config, lib, pkgs, ... }:
|
||
|
|
||
|
with lib;
|
||
|
|
||
|
{
|
||
|
config = {
|
||
|
programs.alacritty = {
|
||
|
enable = true;
|
||
|
|
||
|
settings = {
|
||
|
window.dimensions = {
|
||
|
lines = 3;
|
||
|
columns = 200;
|
||
|
};
|
||
|
|
||
|
key_bindings = [
|
||
|
{
|
||
|
key = "K";
|
||
|
mods = "Control";
|
||
|
chars = "\\x0c";
|
||
|
}
|
||
|
];
|
||
|
};
|
||
|
};
|
||
|
|
||
|
nmt.script = ''
|
||
|
assertFileContent \
|
||
|
home-files/.config/alacritty/alacritty.yml \
|
||
|
${./example-settings-expected.yml}
|
||
|
'';
|
||
|
};
|
||
|
}
|