nixos-servers/kubenix-modules/all.nix

62 lines
1.2 KiB
Nix
Raw Normal View History

let
applications = [
2024-04-13 14:37:18 +00:00
./freshrss.nix
./cyberchef.nix
./kms.nix
./inbucket.nix
./radicale.nix
./syncthing.nix
./nextcloud.nix
./pihole.nix
./hedgedoc.nix
./paperless.nix
2024-04-13 14:37:18 +00:00
./kitchenowl.nix
./forgejo
2024-04-13 14:37:18 +00:00
./media.nix
./bind9
2024-04-13 14:37:18 +00:00
./dnsmasq.nix
./blog.nix
2024-06-01 09:12:43 +00:00
./attic.nix
2024-06-12 21:14:55 +00:00
./atuin.nix
2024-06-20 19:35:13 +00:00
./immich.nix
# ./argo.nix
# ./minecraft.nix
];
in
{
kubernetes.resources.pods.testje.spec = {
containers.redis = {
image = "nix:0/nix/store/5nmh9qawhbwinzxidafjlfw68wfkh0pj-nix-image-redis.tar";
args = [ "--protected-mode" "no" ];
ports = [{
name = "redis";
containerPort = 6379;
}];
};
affinity.nodeAffinity.requiredDuringSchedulingIgnoredDuringExecution.nodeSelectorTerms = [{
matchExpressions = [{
key = "kubernetes.io/hostname";
operator = "In";
values = [ "atlas" ];
}];
}];
};
imports = [
./base.nix
./longhorn.nix
2024-04-13 14:37:18 +00:00
./esrom.nix
2024-06-02 13:51:54 +00:00
./ek2024.nix
2024-04-13 14:37:18 +00:00
./metallb.nix
./cert-manager.nix
./custom/ingress.nix
./custom/nfs-volume.nix
./custom/longhorn-volume.nix
./traefik.nix
./volumes.nix
./custom-types.nix
] ++ applications;
2024-04-13 14:37:18 +00:00
}