17 lines
344 B
Nix
17 lines
344 B
Nix
{...}: {
|
|
config.flake.modules.homeManager.kubernetes = {
|
|
lib,
|
|
config,
|
|
pkgs,
|
|
...
|
|
}: {
|
|
options.azos.kubectl.enable = lib.mkOption {
|
|
default = true;
|
|
type = lib.types.bool;
|
|
};
|
|
config = lib.mkIf config.azos.kubectl.enable {
|
|
home.packages = with pkgs; [kubectl kubernetes-helm velero];
|
|
};
|
|
};
|
|
}
|