mirror of
https://github.com/nix-community/home-manager
synced 2024-11-23 13:13:26 +00:00
34 lines
611 B
Nix
34 lines
611 B
Nix
{ config, lib, pkgs, ... }:
|
|
|
|
with lib;
|
|
|
|
{
|
|
config = {
|
|
programs.alacritty = {
|
|
enable = true;
|
|
|
|
settings = {
|
|
window.dimensions = {
|
|
lines = 3;
|
|
columns = 200;
|
|
};
|
|
|
|
key_bindings = [{
|
|
key = "K";
|
|
mods = "Control";
|
|
chars = "\\x0c";
|
|
}];
|
|
};
|
|
};
|
|
|
|
nixpkgs.overlays = [
|
|
(self: super: { alacritty = pkgs.writeScriptBin "dummy-alacritty" ""; })
|
|
];
|
|
|
|
nmt.script = ''
|
|
assertFileContent \
|
|
home-files/.config/alacritty/alacritty.yml \
|
|
${./example-settings-expected.yml}
|
|
'';
|
|
};
|
|
}
|