mirror of
https://github.com/nix-community/home-manager
synced 2024-11-27 13:39:46 +01:00
18 lines
287 B
Nix
18 lines
287 B
Nix
|
{ ... }:
|
||
|
|
||
|
{
|
||
|
programs = {
|
||
|
zsh.enable = true;
|
||
|
pyenv.enable = true;
|
||
|
};
|
||
|
|
||
|
test.stubs.pyenv = { name = "pyenv"; };
|
||
|
|
||
|
nmt.script = ''
|
||
|
assertFileExists home-files/.zshrc
|
||
|
assertFileContains \
|
||
|
home-files/.zshrc \
|
||
|
'eval "$(@pyenv@/bin/pyenv init - zsh)"'
|
||
|
'';
|
||
|
}
|