1
0
mirror of https://github.com/nix-community/home-manager synced 2024-07-02 19:38:32 +02:00
home-manager/tests/modules/programs/scmpuff/no-shell.nix

19 lines
431 B
Nix
Raw Normal View History

{ pkgs, ... }: {
config = {
programs = {
scmpuff = {
enable = true;
enableBashIntegration = false;
enableZshIntegration = false;
};
bash.enable = true;
zsh.enable = true;
};
nmt.script = ''
assertFileNotRegex home-files/.zshrc '${pkgs.gitAndTools.scmpuff} init -s'
assertFileNotRegex home-files/.bashrc '${pkgs.gitAndTools.scmpuff} init -s'
'';
};
}