1
0
mirror of https://github.com/nix-community/home-manager synced 2024-07-03 03:48:31 +02:00
home-manager/tests/modules/programs/scmpuff/zsh.nix
2023-10-03 18:04:43 +02:00

21 lines
313 B
Nix

{ ... }:
{
programs = {
scmpuff.enable = true;
zsh.enable = true;
};
test.stubs = {
zsh = { };
scmpuff = { };
};
nmt.script = ''
assertFileExists home-files/.zshrc
assertFileContains \
home-files/.zshrc \
'eval "$(@scmpuff@/bin/scmpuff init --shell=zsh)"'
'';
}