2024-04-19 16:57:02 +02:00
|
|
|
{ config, ... }:
|
2019-05-13 04:08:23 +02:00
|
|
|
|
|
|
|
{
|
|
|
|
config = {
|
|
|
|
programs.alacritty = {
|
|
|
|
enable = true;
|
2024-04-19 16:57:02 +02:00
|
|
|
package = config.lib.test.mkStubPackage { };
|
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";
|
2024-04-19 16:57:02 +02:00
|
|
|
chars = "\\u000c";
|
2020-02-02 00:39:17 +01:00
|
|
|
}];
|
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
|
|
|
'';
|
|
|
|
};
|
|
|
|
}
|