2019-05-13 02:08:23 +00:00
|
|
|
{ config, lib, pkgs, ... }:
|
|
|
|
|
|
|
|
with lib;
|
|
|
|
|
|
|
|
{
|
|
|
|
config = {
|
|
|
|
programs.alacritty = {
|
|
|
|
enable = true;
|
2023-12-28 11:07:30 +00:00
|
|
|
package = config.lib.test.mkStubPackage { version = "0.13.0"; };
|
2019-05-13 02:08:23 +00:00
|
|
|
|
|
|
|
settings = {
|
|
|
|
window.dimensions = {
|
|
|
|
lines = 3;
|
|
|
|
columns = 200;
|
|
|
|
};
|
|
|
|
|
2023-12-28 11:07:30 +00:00
|
|
|
keyboard.bindings = [{
|
2020-02-01 23:39:17 +00:00
|
|
|
key = "K";
|
|
|
|
mods = "Control";
|
|
|
|
chars = "\\x0c";
|
|
|
|
}];
|
2019-05-13 02:08:23 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
nmt.script = ''
|
|
|
|
assertFileContent \
|
2023-12-28 11:07:30 +00:00
|
|
|
home-files/.config/alacritty/alacritty.toml \
|
|
|
|
${./example-settings-expected.toml}
|
2019-05-13 02:08:23 +00:00
|
|
|
'';
|
|
|
|
};
|
|
|
|
}
|