mirror of
https://github.com/nix-community/home-manager
synced 2024-11-16 08:09:45 +01:00
5ae7817dc5
Also remove assignment to non-existent option `programs.kitty.package`.
34 lines
717 B
Nix
34 lines
717 B
Nix
{ config, lib, pkgs, ... }:
|
|
|
|
with lib;
|
|
|
|
{
|
|
config = {
|
|
programs.kitty = {
|
|
enable = true;
|
|
settings = {
|
|
scrollback_lines = 10000;
|
|
enable_audio_bell = false;
|
|
update_check_interval = 0;
|
|
};
|
|
|
|
font.name = "DejaVu Sans";
|
|
font.size = 8;
|
|
|
|
keybindings = {
|
|
"ctrl+c" = "copy_or_interrupt";
|
|
"ctrl+f>2" = "set_font_size 20";
|
|
};
|
|
};
|
|
|
|
nixpkgs.overlays =
|
|
[ (self: super: { kitty = pkgs.writeScriptBin "dummy-kitty" ""; }) ];
|
|
|
|
nmt.script = ''
|
|
assertFileExists home-files/.config/kitty/kitty.conf
|
|
assertFileContent \
|
|
home-files/.config/kitty/kitty.conf \
|
|
${./example-settings-expected.conf}
|
|
'';
|
|
};
|
|
}
|