home-manager/tests/modules/programs/oh-my-posh/zsh.nix

25 lines
357 B
Nix
Raw Normal View History

2022-09-29 11:08:53 +00:00
{ ... }:
{
programs = {
zsh.enable = true;
oh-my-posh = {
enable = true;
useTheme = "jandedobbeleer";
};
};
test.stubs = {
oh-my-posh = { };
zsh = { };
};
nmt.script = ''
assertFileExists home-files/.zshrc
assertFileContains \
home-files/.zshrc \
'/bin/oh-my-posh init zsh --config'
'';
}