2024-04-10 13:34:46 +02:00
|
|
|
{ pkgs, lib, ... }: {
|
2022-10-23 21:22:14 +02:00
|
|
|
|
|
|
|
programs.k9s.enable = true;
|
|
|
|
|
2024-04-10 13:34:46 +02:00
|
|
|
xdg.enable = lib.mkIf pkgs.stdenv.isDarwin (lib.mkForce false);
|
|
|
|
|
2022-10-23 21:22:14 +02:00
|
|
|
test.stubs.k9s = { };
|
|
|
|
|
2024-04-10 13:34:46 +02:00
|
|
|
nmt.script = let
|
|
|
|
configDir = if !pkgs.stdenv.isDarwin then
|
|
|
|
".config/k9s"
|
|
|
|
else
|
|
|
|
"Library/Application Support/k9s";
|
|
|
|
in ''
|
|
|
|
assertPathNotExists home-files/${configDir}
|
2022-10-23 21:22:14 +02:00
|
|
|
'';
|
|
|
|
}
|