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:
parent
92db5be8e1
commit
af8a884164
10 changed files with 220 additions and 0 deletions
16
tests/modules/programs/kubeswitch/fish.nix
Normal file
16
tests/modules/programs/kubeswitch/fish.nix
Normal 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$'
|
||||
'';
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue