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