1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-11-05 02:39:45 +01:00
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

23 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'
'';
}