mirror of
https://github.com/nix-community/home-manager.git
synced 2025-12-12 20:11:06 +01:00
Signed-off-by: Ludovic Ortega <ludovic.ortega@adminafk.fr> Co-authored-by: Austin Horstman <khaneliman12@gmail.com>
16 lines
502 B
Nix
16 lines
502 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$'
|
|
'';
|
|
}
|