yep, more dotfiles

Revert "server: add archive-warrior"

This reverts commit 23c29bc784a238edd5e44ce31a95f15f79a09c47.

wiro.world 88c6d4ad 622b7a3e

verified
Changed files
+2 -16
nixos
profiles
+2 -16
nixos/profiles/server.nix
···
matrix-port = 3009;
matrix-hostname = "matrix.wiro.world";
-
warrior-port = 3010;
-
warrior-hostname = "warrior.wiro.world";
-
prometheus-port = 9001;
prometheus-node-exporter-port = 9002;
headscale-metrics-port = 9003;
···
virtualHosts.${matrix-hostname}.extraConfig = ''
reverse_proxy /_matrix/* http://localhost:${toString matrix-port}
'';
-
-
virtualHosts.${warrior-hostname}.extraConfig = ''
-
forward_auth localhost:${toString authelia-port} {
-
uri /api/authz/forward-auth
-
}
-
reverse_proxy http://localhost:${toString warrior-port}
-
'';
};
age.secrets.pds-env.file = ../../secrets/pds-env.age;
···
];
};
+
identity_providers.oidc = {
# enforce_pkce = "always";
clients = [
···
}
];
};
+
notifier.smtp = {
address = "smtp://smtp.resend.com:2587";
···
allow_registration = true;
registration_token_file = config.age.secrets.tuwunel-registration-tokens.path;
};
-
};
-
-
virtualisation.oci-containers.containers.archive-warrior = {
-
image = "atdr.meo.ws/archiveteam/warrior-dockerfile";
-
ports = [ "127.0.0.1:${toString warrior-port}:8001" ];
-
pull = "newer";
};
};
}