1
0
mirror of https://github.com/nix-community/home-manager synced 2024-07-08 22:33:27 +02:00
home-manager/tests/modules/programs/atuin/no-shell.nix

24 lines
407 B
Nix
Raw Normal View History

{ ... }:
{
programs = {
atuin = {
enable = true;
enableBashIntegration = false;
enableZshIntegration = false;
};
bash.enable = true;
zsh.enable = true;
};
test.stubs = {
atuin = { };
bash-preexec = { };
};
nmt.script = ''
assertFileNotRegex home-files/.zshrc '@atuin@ init zsh'
assertFileNotRegex home-files/.bashrc '@atuin@ init bash'
'';
}