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