mirror of
https://github.com/nix-community/home-manager
synced 2024-11-16 16:19:44 +01:00
7529a2674a
Stub the scmpuff package. Also remove unnecessary `config` wrapping.
20 lines
304 B
Nix
20 lines
304 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 -s)"'
|
|
'';
|
|
}
|