Compare commits

..
5 Commits
Author SHA1 Message Date
hecuba-services-bot 0c992880b7 chore(hecuba): update services lock to 18d0202
check / lint (push) Successful in 15s
2026-10-31 15:37:11 +01:00
hektor ea5309eff1 feat(k8s): declare 'talos' modules 2026-10-31 15:37:11 +01:00
hektor 48360e49c4 feat(k8s): declare 'crossplane' module 2026-10-31 15:35:49 +01:00
hektor e92c98fa04 fix(nvim): load snippets from nixCats config dir 2026-10-31 15:35:48 +01:00
hektor 2d2776f119 fix(taskwarrior): drop unused 'taskopen' 2026-10-31 15:35:47 +01:00
3 changed files with 22 additions and 22 deletions

No files matched your search

-5
View File
@@ -1,11 +1,6 @@
{ 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" ];
}; };
+22 -3
View File
@@ -6,9 +6,28 @@
./talos.nix ./talos.nix
]; ];
options.k8s.enable = lib.mkOption { options.k8s = {
default = false; enable = lib.mkOption {
type = lib.types.bool; 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 { config = lib.mkIf config.k8s.enable {
-14
View File
@@ -9,20 +9,6 @@ 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") {