1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-11-01 08:49:44 +01:00
home-manager/tests/modules/programs/alacritty/example-settings.nix

30 lines
537 B
Nix
Raw Normal View History

{ config, ... }:
{
config = {
programs.alacritty = {
enable = true;
package = config.lib.test.mkStubPackage { };
settings = {
window.dimensions = {
lines = 3;
columns = 200;
};
keyboard.bindings = [{
2020-02-02 00:39:17 +01:00
key = "K";
mods = "Control";
chars = "\\u000c";
2020-02-02 00:39:17 +01:00
}];
};
};
nmt.script = ''
assertFileContent \
home-files/.config/alacritty/alacritty.toml \
${./example-settings-expected.toml}
'';
};
}