mirror of
https://github.com/nix-community/home-manager.git
synced 2025-12-12 20:11:06 +01:00
Cover some more scenarios with the module. Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
17 lines
334 B
Nix
17 lines
334 B
Nix
{
|
|
programs = {
|
|
bash.enable = true;
|
|
|
|
oh-my-posh = {
|
|
enable = true;
|
|
configFile = "/etc/oh-my-posh/custom.json";
|
|
};
|
|
};
|
|
|
|
nmt.script = ''
|
|
assertFileExists home-files/.bashrc
|
|
assertFileContains \
|
|
home-files/.bashrc \
|
|
'/bin/oh-my-posh init bash --config /etc/oh-my-posh/custom.json'
|
|
'';
|
|
}
|