home-manager/tests/modules/programs/scmpuff/zsh.nix
2021-08-12 23:11:15 +02:00

18 lines
388 B
Nix

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