mirror of
https://github.com/nix-community/home-manager.git
synced 2026-10-02 19:49:18 +00:00
17 lines
340 B
Nix
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}
|
|
'';
|
|
}
|