1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-12-27 04:09:47 +01:00
home-manager/tests/modules/programs/pay-respects/integration-disabled.nix
Nicholas Ciechanowski db9a98e178
pay-respects: add module
Add pay-respects module including shell integration support for bash,
zsh, fish and nushell.
2024-12-21 18:13:06 +01:00

22 lines
726 B
Nix

{ ... }: {
programs = {
pay-respects.enable = true;
pay-respects.enableBashIntegration = false;
pay-respects.enableFishIntegration = false;
pay-respects.enableZshIntegration = false;
pay-respects.enableNushellIntegration = false;
bash.enable = true;
zsh.enable = true;
fish.enable = true;
nushell.enable = true;
};
test.stubs.pay-respects = { };
nmt.script = ''
assertFileNotRegex home-files/.bashrc '@pay-respects@/bin/dummy'
assertFileNotRegex home-files/.zshrc '@pay-respects@/bin/dummy'
assertFileNotRegex home-files/.config/fish/config.fish '@pay-respects@/bin/dummy'
assertFileNotRegex home-files/.config/nushell/config.nu '@pay-respects@/bin/dummy'
'';
}