removed coder + secret cleanup

This commit is contained in:
Jurn Wubben 2025-08-22 01:24:06 +02:00
parent 62c041bb32
commit 1111a9c81d
6 changed files with 0 additions and 58 deletions

View file

@ -1,36 +0,0 @@
{
config,
lib,
pkgs,
...
}: let
inherit (config.niksos) server;
port = 9005;
host = "coder.jsw.tf";
httpsHost = "https://" + host;
in {
config = lib.mkIf server {
services = {
caddy.virtualHosts."${host}".extraConfig = ''
reverse_proxy :${port}
'';
coder = {
enable = true;
listenAddress = "127.0.0.1:${port}";
wildcardAccessUrl = "*.${host}";
accessUrl = httpsHost;
environment = {
file = ./file.file; # See format below.
/*
CODER_OIDC_CLIENT_ID=""
CODER_OIDC_CLIENT_SECRET=""
*/
extra = {
CODER_OIDC_ISSUER_URL = "https://z.jsw.tf";
# CODER_OIDC_EMAIL_DOMAIN="your-domain-1,your-domain-2";
};
};
};
};
};
}

View file

@ -3,7 +3,6 @@
# ./matrix.nix
./bot.nix
./caddy.nix
./coder.nix
./derekBot.nix
./forgejo.nix
./immich.nix