Files
home-manager/tests/modules/programs/k9s/empty-settings.nix
K900 0668fdbc15 treewide: stdenv.is* -> stdenv.hostPlatform.is*
Nixpkgs officialy deprecated the former.
2026-08-13 08:40:58 +02:00

17 lines
340 B
Nix

{ pkgs, lib, ... }:
{
programs.k9s.enable = true;
xdg.enable = lib.mkIf pkgs.stdenv.hostPlatform.isDarwin false;
nmt.script =
let
configDir =
if !pkgs.stdenv.hostPlatform.isDarwin then ".config/k9s" else "Library/Application Support/k9s";
in
''
assertPathNotExists home-files/${configDir}
'';
}