feat(k8s): declare 'talos' modules
check / lint (push) Successful in 16s

This commit is contained in:
hektor committed 2026-10-31 13:17:17 +01:00
1 parent 1f3976a77f
commit 3cf8fd289a
6 files changed
+84 -2

No files matched your search

+7
View File
@@ -24,12 +24,19 @@ in
type = lib.types.bool;
};
};
talos = {
enable = lib.mkOption {
default = false;
type = lib.types.bool;
};
};
};
imports = [
./crossplane.nix
./helm.nix
./k9s.nix
./talos.nix
];
config = lib.mkIf cfg.enable {
+12
View File
@@ -0,0 +1,12 @@
{
config,
lib,
pkgs,
...
}:
{
config = lib.mkIf config.k8s.talos.enable {
home.packages = [ pkgs.talosctl ];
};
}