depot/third_party/home-manager/tests/modules/programs/alacritty/example-settings.nix
Default email 72904c318c Project import generated by Copybara.
GitOrigin-RevId: 9bf1f40af124573a54fd208b1f539eb694ef31a6
2020-10-11 17:22:58 -07:00

31 lines
557 B
Nix

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