mirror of
https://github.com/nix-community/home-manager
synced 2024-11-18 00:59:44 +01:00
34 lines
633 B
Nix
34 lines
633 B
Nix
{ config, ... }:
|
|
|
|
{
|
|
config = {
|
|
programs.alacritty = {
|
|
enable = true;
|
|
package = config.lib.test.mkStubPackage { };
|
|
|
|
settings = {
|
|
window.dimensions = {
|
|
lines = 3;
|
|
columns = 200;
|
|
};
|
|
|
|
keyboard.bindings = [{
|
|
key = "K";
|
|
mods = "Control";
|
|
chars = "\\u000c";
|
|
}];
|
|
|
|
font = {
|
|
normal.family = "SFMono";
|
|
bold.family = "SFMono";
|
|
};
|
|
};
|
|
};
|
|
|
|
nmt.script = ''
|
|
assertFileContent \
|
|
home-files/.config/alacritty/alacritty.toml \
|
|
${./settings-toml-expected.toml}
|
|
'';
|
|
};
|
|
}
|