mirror of
https://github.com/nix-community/home-manager.git
synced 2025-03-10 02:36:54 +00:00
This allows better support for using kitty's built-in shell integration method by setting `shellIntegration.mode' to `null', which makes it not be set at all in the config file and disables modification to shell initialization scripts by default. If this is used, the user should set `settings.shell_integration' instead (if shell integration is desired), which receives no special handling.
22 lines
388 B
Nix
22 lines
388 B
Nix
{ config, lib, pkgs, ... }:
|
|
|
|
with lib;
|
|
|
|
{
|
|
config = {
|
|
programs.kitty = {
|
|
enable = true;
|
|
|
|
shellIntegration.mode = null;
|
|
};
|
|
|
|
test.stubs.kitty = { };
|
|
|
|
nmt.script = ''
|
|
assertFileExists home-files/.config/kitty/kitty.conf
|
|
assertFileContent \
|
|
home-files/.config/kitty/kitty.conf \
|
|
${./null-shellIntegration-expected.conf}
|
|
'';
|
|
};
|
|
}
|