mirror of
https://github.com/nix-community/home-manager
synced 2024-11-23 19:49:45 +01:00
29 lines
537 B
Nix
29 lines
537 B
Nix
{ config, ... }:
|
|
|
|
{
|
|
config = {
|
|
programs.alacritty = {
|
|
enable = true;
|
|
package = config.lib.test.mkStubPackage { };
|
|
|
|
settings = {
|
|
window.dimensions = {
|
|
lines = 3;
|
|
columns = 200;
|
|
};
|
|
|
|
keyboard.bindings = [{
|
|
key = "K";
|
|
mods = "Control";
|
|
chars = "\\u000c";
|
|
}];
|
|
};
|
|
};
|
|
|
|
nmt.script = ''
|
|
assertFileContent \
|
|
home-files/.config/alacritty/alacritty.toml \
|
|
${./example-settings-expected.toml}
|
|
'';
|
|
};
|
|
}
|