1
0
Fork 0
mirror of https://github.com/nix-community/home-manager.git synced 2025-12-02 23:21:02 +01:00
home-manager/tests/modules/programs/kubeswitch/fish.nix
2025-10-26 15:43:53 -05:00

14 lines
492 B
Nix

{
programs = {
kubeswitch.enable = true;
fish.enable = true;
};
nmt.script = ''
assertFileExists home-files/.config/fish/config.fish
assertFileRegex home-files/.config/fish/config.fish \
'^\s*source /nix/store/[0-9a-z]*-kubeswitch-kswitch-shell-files-for-fish/share/kswitch_init.fish$'
assertFileRegex home-files/.config/fish/config.fish \
'^\s*source /nix/store/[0-9a-z]*-kubeswitch-kswitch-shell-files-for-fish/share/kswitch_completion.fish$'
'';
}