mirror of
https://github.com/tboerger/nixos-config
synced 2024-11-29 20:52:33 +01:00
43 lines
640 B
Nix
43 lines
640 B
Nix
{ pkgs, lib, config, options, ... }:
|
|
with lib;
|
|
|
|
let
|
|
cfg = config.profile.programs.kube;
|
|
|
|
in
|
|
{
|
|
options = {
|
|
profile = {
|
|
programs = {
|
|
kube = {
|
|
enable = mkEnableOption "Kube";
|
|
};
|
|
};
|
|
};
|
|
};
|
|
|
|
config = mkIf cfg.enable {
|
|
environment = {
|
|
systemPackages = with pkgs; [
|
|
argocd
|
|
chart-testing
|
|
clusterctl
|
|
helm-docs
|
|
jsonnet
|
|
jsonnet-bundler
|
|
k9s
|
|
kind
|
|
krew
|
|
kubectl
|
|
kubectx
|
|
kubernetes-helm
|
|
kustomize
|
|
kustomize-sops
|
|
sonobuoy
|
|
stern
|
|
yamale
|
|
];
|
|
};
|
|
};
|
|
}
|