Compare commits

..
5 Commits
Author SHA1 Message Date
hecuba-services-bot d600ce7e98 chore(hecuba): update services lock to 18d0202
check / lint (push) Successful in 15s
2026-10-31 12:19:26 +00:00
hektor 3cf8fd289a feat(k8s): declare 'talos' modules
check / lint (push) Successful in 16s
2026-10-31 13:17:17 +01:00
hektor 1f3976a77f feat(k8s): declare 'crossplane' module 2026-10-31 11:57:24 +01:00
hektor 983710aa37 fix(nvim): load snippets from nixCats config dir
check / lint (push) Successful in 15s
2026-10-29 14:47:49 +01:00
hektor def528d538 fix(taskwarrior): drop unused 'taskopen' 2026-10-29 14:47:49 +01:00
3 changed files with 22 additions and 22 deletions

No files matched your search

+5
View File
@@ -1,6 +1,11 @@
{ config, lib, ... }: { config, lib, ... }:
{ {
options.k8s.crossplane.enable = lib.mkOption {
default = false;
type = lib.types.bool;
};
config = lib.mkIf config.k8s.crossplane.enable { config = lib.mkIf config.k8s.crossplane.enable {
nixpkgs.allowedUnfree = [ "upbound" ]; nixpkgs.allowedUnfree = [ "upbound" ];
}; };
+3 -22
View File
@@ -6,28 +6,9 @@
./talos.nix ./talos.nix
]; ];
options.k8s = { options.k8s.enable = lib.mkOption {
enable = lib.mkOption { default = false;
default = false; type = lib.types.bool;
type = lib.types.bool;
};
crossplane.enable = lib.mkOption {
default = false;
type = lib.types.bool;
};
talos = {
enable = lib.mkOption {
default = false;
type = lib.types.bool;
};
platform = lib.mkOption {
default = "qemu";
type = lib.types.enum [
"docker"
"qemu"
];
};
};
}; };
config = lib.mkIf config.k8s.enable { config = lib.mkIf config.k8s.enable {
+14
View File
@@ -9,6 +9,20 @@ let
inherit (config.host) username; inherit (config.host) username;
in in
{ {
options.k8s.talos = {
enable = lib.mkOption {
default = false;
type = lib.types.bool;
};
platform = lib.mkOption {
default = "qemu";
type = lib.types.enum [
"docker"
"qemu"
];
};
};
config = lib.mkIf config.k8s.talos.enable ( config = lib.mkIf config.k8s.talos.enable (
lib.mkMerge [ lib.mkMerge [
(lib.mkIf (config.k8s.talos.platform == "docker") { (lib.mkIf (config.k8s.talos.platform == "docker") {