23 lines
347 B
Nix
23 lines
347 B
Nix
|
{
|
||
|
config,
|
||
|
lib,
|
||
|
namespace,
|
||
|
...
|
||
|
}: let
|
||
|
cfg = config.${namespace}.programs.k9s;
|
||
|
in {
|
||
|
options.${namespace}.programs.k9s = {
|
||
|
enable = lib.mkEnableOption "k9s";
|
||
|
};
|
||
|
|
||
|
config = lib.mkIf cfg.enable {
|
||
|
programs.k9s = {
|
||
|
enable = true;
|
||
|
catppuccin = {
|
||
|
enable = true;
|
||
|
transparent = true;
|
||
|
};
|
||
|
};
|
||
|
};
|
||
|
}
|