2023-12-04 17:42:06 +01:00
|
|
|
let
|
|
|
|
sources = import ./npins;
|
|
|
|
|
|
|
|
agenix = sources.agenix + "/modules/age.nix";
|
2024-06-11 14:41:49 +02:00
|
|
|
djangonix = sources.djangonix + "/module.nix";
|
2023-12-04 17:42:06 +01:00
|
|
|
|
|
|
|
metadata = {
|
|
|
|
nodes = {
|
2024-01-12 16:19:31 +01:00
|
|
|
hackens-milieu = {
|
2023-12-04 17:42:06 +01:00
|
|
|
deployment = {
|
2024-09-24 12:33:51 +02:00
|
|
|
targetHost = null; # "milieu.cave.hackens.org";
|
2024-06-11 14:41:49 +02:00
|
|
|
#targetPort = 4243;
|
2023-12-04 17:42:06 +01:00
|
|
|
allowLocalDeployment = true;
|
2024-01-12 18:07:38 +01:00
|
|
|
tags = [ "desktop" ];
|
2023-12-04 17:42:06 +01:00
|
|
|
};
|
2024-09-24 12:33:51 +02:00
|
|
|
imports = [ agenix ];
|
2023-12-04 17:42:06 +01:00
|
|
|
};
|
2024-10-10 01:00:01 +02:00
|
|
|
agb01 = {
|
|
|
|
deployment = {
|
|
|
|
targetHost = "10.10.10.5";
|
|
|
|
};
|
|
|
|
arch = "aarch64-linux";
|
|
|
|
imports = [ agenix ];
|
|
|
|
};
|
2024-03-08 17:04:42 +01:00
|
|
|
rigel = {
|
|
|
|
deployment = {
|
|
|
|
targetHost = "10.1.1.1";
|
|
|
|
};
|
|
|
|
arch = "aarch64-linux";
|
|
|
|
};
|
2024-01-12 16:19:31 +01:00
|
|
|
hackens-org = {
|
2023-12-04 17:42:06 +01:00
|
|
|
deployment = {
|
2024-04-01 15:53:31 +02:00
|
|
|
targetHost = "10.10.10.1"; # todo make something with ens firewall
|
2024-01-12 18:07:38 +01:00
|
|
|
tags = [ "server" ];
|
2024-06-11 14:41:49 +02:00
|
|
|
targetPort = 22;
|
2023-12-04 17:42:06 +01:00
|
|
|
};
|
2024-09-24 12:33:51 +02:00
|
|
|
imports = [
|
|
|
|
agenix
|
|
|
|
djangonix
|
|
|
|
];
|
2023-12-04 17:42:06 +01:00
|
|
|
};
|
|
|
|
|
2024-10-10 15:45:53 +02:00
|
|
|
agb02 = {
|
|
|
|
deployment = {
|
|
|
|
targetHost = null;
|
|
|
|
};
|
|
|
|
arch = "aarch64-linux";
|
|
|
|
};
|
2023-12-04 17:42:06 +01:00
|
|
|
};
|
|
|
|
};
|
|
|
|
in
|
2024-09-24 12:33:51 +02:00
|
|
|
metadata
|