1
0
mirror of https://github.com/nix-community/home-manager synced 2024-07-05 21:03:27 +02:00
home-manager/tests/modules/programs/scmpuff/no-zsh.nix
2021-08-12 23:11:15 +02:00

19 lines
364 B
Nix

{ pkgs, ... }: {
config = {
programs = {
scmpuff = {
enable = true;
enableZshIntegration = false;
};
zsh.enable = true;
};
nixpkgs.overlays =
[ (self: super: { zsh = pkgs.writeScriptBin "dummy" ""; }) ];
nmt.script = ''
assertFileNotRegex home-files/.zshrc '${pkgs.scmpuff} init -s'
'';
};
}