kubeswitch: add module

Signed-off-by: Ludovic Ortega <ludovic.ortega@adminafk.fr>
Co-authored-by: Austin Horstman <khaneliman12@gmail.com>
This commit is contained in:
Ludovic Ortega 2025-07-05 22:54:55 +02:00 committed by Austin Horstman
parent 92db5be8e1
commit af8a884164
10 changed files with 220 additions and 0 deletions

View file

@ -0,0 +1,16 @@
{ ... }:
{
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$'
'';
}