This allows work machines to enable development, while not including non-work-related kubectl management stuffs.
17 lines
315 B
Nix
17 lines
315 B
Nix
{ config, lib, pkgs, globalInputs, system, ... }:
|
|
|
|
with lib;
|
|
|
|
let
|
|
cfg = config.home.roles.kubectl;
|
|
in
|
|
{
|
|
options.home.roles.kubectl = {
|
|
enable = mkEnableOption "Enable management tools for the homelab k3s oglenet cluster";
|
|
};
|
|
|
|
config = mkIf cfg.enable {
|
|
programs.kubectl-secure.enable = true;
|
|
};
|
|
}
|