mirror of
https://github.com/nix-community/home-manager
synced 2024-11-27 13:39:46 +01:00
ba6b75011b
The config file is in TOML from 0.13 onwards.
31 lines
577 B
Nix
31 lines
577 B
Nix
{ config, lib, pkgs, ... }:
|
|
|
|
with lib;
|
|
|
|
{
|
|
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";
|
|
}];
|
|
};
|
|
};
|
|
|
|
nmt.script = ''
|
|
assertFileContent \
|
|
home-files/.config/alacritty/alacritty.toml \
|
|
${./example-settings-expected.toml}
|
|
'';
|
|
};
|
|
}
|