1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-12-26 03:39:47 +01:00
home-manager/tests/modules/programs/oh-my-posh/zsh.nix
2022-11-02 01:04:42 +01:00

24 lines
357 B
Nix

{ ... }:
{
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'
'';
}