dotfiles/modules/home/programs/k9s/default.nix

23 lines
347 B
Nix
Raw Permalink Normal View History

2024-08-12 02:21:41 +00:00
{
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;
};
};
};
}