mirror of
https://github.com/nix-community/home-manager
synced 2024-11-01 08:49:44 +01:00
22 lines
333 B
Nix
22 lines
333 B
Nix
|
{ ... }:
|
||
|
|
||
|
{
|
||
|
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'
|
||
|
'';
|
||
|
}
|