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

32 lines
557 B
Nix
Raw Normal View History

{ config, lib, pkgs, ... }:
with lib;
{
config = {
programs.alacritty = {
enable = true;
2020-07-03 19:09:35 +02:00
package = pkgs.writeScriptBin "dummy-alacritty" "";
settings = {
window.dimensions = {
lines = 3;
columns = 200;
};
2020-02-02 00:39:17 +01:00
key_bindings = [{
key = "K";
mods = "Control";
chars = "\\x0c";
}];
};
};
nmt.script = ''
assertFileContent \
home-files/.config/alacritty/alacritty.yml \
${./example-settings-expected.yml}
'';
};
}