mirror of
https://github.com/nix-community/home-manager
synced 2024-11-01 16:59:43 +01:00
25 lines
357 B
Nix
25 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'
|
||
|
'';
|
||
|
}
|