1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-12-29 13:19:47 +01:00
home-manager/tests/modules/programs/oh-my-posh/bash.nix

22 lines
333 B
Nix
Raw Normal View History

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