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 20 additions and 20 deletions

No files matched your search

+5
View File
@@ -1,6 +1,11 @@
{ config, lib, ... }:
{
options.k8s.crossplane.enable = lib.mkOption {
default = false;
type = lib.types.bool;
};
config = lib.mkIf config.k8s.crossplane.enable {
nixpkgs.allowedUnfree = [ "upbound" ];
};
+1 -20
View File
@@ -6,29 +6,10 @@
./talos.nix
];
options.k8s = {
enable = lib.mkOption {
options.k8s.enable = lib.mkOption {
default = false;
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 {
k8s.talos.enable = lib.mkDefault true;
+14
View File
@@ -9,6 +9,20 @@ let
inherit (config.host) username;
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 (
lib.mkMerge [
(lib.mkIf (config.k8s.talos.platform == "docker") {