2019-05-13 04:08:23 +02:00
|
|
|
{ config, lib, pkgs, ... }:
|
|
|
|
|
|
|
|
with lib;
|
|
|
|
|
|
|
|
{
|
|
|
|
config = {
|
|
|
|
programs.alacritty = {
|
|
|
|
enable = true;
|
|
|
|
|
|
|
|
settings = {
|
|
|
|
window.dimensions = {
|
|
|
|
lines = 3;
|
|
|
|
columns = 200;
|
|
|
|
};
|
|
|
|
|
2020-02-02 00:39:17 +01:00
|
|
|
key_bindings = [{
|
|
|
|
key = "K";
|
|
|
|
mods = "Control";
|
|
|
|
chars = "\\x0c";
|
|
|
|
}];
|
2019-05-13 04:08:23 +02:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2019-10-08 22:46:27 +02:00
|
|
|
nixpkgs.overlays = [
|
2020-02-02 00:39:17 +01:00
|
|
|
(self: super: { alacritty = pkgs.writeScriptBin "dummy-alacritty" ""; })
|
2019-10-08 22:46:27 +02:00
|
|
|
];
|
|
|
|
|
2019-05-13 04:08:23 +02:00
|
|
|
nmt.script = ''
|
|
|
|
assertFileContent \
|
|
|
|
home-files/.config/alacritty/alacritty.yml \
|
|
|
|
${./example-settings-expected.yml}
|
|
|
|
'';
|
|
|
|
};
|
|
|
|
}
|