removed coder + secret cleanup
This commit is contained in:
parent
62c041bb32
commit
1111a9c81d
6 changed files with 0 additions and 58 deletions
|
|
@ -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";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
@ -3,7 +3,6 @@
|
|||
# ./matrix.nix
|
||||
./bot.nix
|
||||
./caddy.nix
|
||||
./coder.nix
|
||||
./derekBot.nix
|
||||
./forgejo.nix
|
||||
./immich.nix
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue