home-manager/tests/modules/programs/scmpuff/no-shell.nix
Robert Helgesson 7529a2674a
scmpuff: clean up tests
Stub the scmpuff package. Also remove unnecessary `config` wrapping.
2023-02-07 22:19:10 +01:00

24 lines
403 B
Nix

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