1
0
Fork 0
mirror of https://github.com/nix-community/home-manager.git synced 2025-12-12 20:11:06 +01:00
home-manager/tests/modules/programs/oh-my-posh/config-file.nix
Austin Horstman 10f5a0cc4b tests/oh-my-posh: expand test coverage
Cover some more scenarios with the module.

Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2025-09-17 00:06:30 -05:00

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'
'';
}