mirror of
https://github.com/nix-community/home-manager
synced 2024-12-24 20:13:18 +00: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)"'
|
|
'';
|
|
}
|