my nix stuff!
This commit is contained in:
@@ -14,11 +14,11 @@
|
||||
PDS_CRAWLERS = "https://bsky.network";
|
||||
LOG_ENABLED = "true";
|
||||
PDS_HOSTNAME = "pds.darktru.win";
|
||||
PDS_VERSION = "I'm an ATProto PDS!";
|
||||
PDS_VERSION = "i use nix btw";
|
||||
PDS_DID_PLC_URL = "https://plc.directory";
|
||||
PDS_CONTACT_EMAIL_ADDRESS = "ocbwoy3@ocbwoy3.dev";
|
||||
PDS_PRIVACY_POLICY_URL = "https://ocbwoy3.dev";
|
||||
PDS_TERMS_OF_SERVICE_URL = "https://discord.gg/cQDvPtv3Dt";
|
||||
PDS_TERMS_OF_SERVICE_URL = "https://ocbwoy3.dev";
|
||||
PDS_ACCEPTING_REPO_IMPORTS = "true";
|
||||
};
|
||||
|
||||
|
||||
33
hosts/server/modules/cloudflare.nix
Normal file
33
hosts/server/modules/cloudflare.nix
Normal file
@@ -0,0 +1,33 @@
|
||||
{ config, inputs, pkgs, ... }:
|
||||
|
||||
{
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
cloudflared
|
||||
];
|
||||
|
||||
# lib.mkIf (isOCbwoy3 == true)
|
||||
services.cloudflared = {
|
||||
enable = true;
|
||||
certificateFile = "/private/cloudflared.pem"
|
||||
tunnels = {
|
||||
"selfhost" = {
|
||||
# 2f83f704-e9f7-49fb-a6c4-d4a8f85d87e4
|
||||
default = "http_status:404";
|
||||
credentialsFile = "/private/cloudflared/selfhost.json";
|
||||
ingress = {
|
||||
"api.ocbwoy3.dev" = {
|
||||
service = "http://localhost:8080";
|
||||
};
|
||||
"remx-staging.darktru.win" = {
|
||||
service = "http://localhost:3000";
|
||||
};
|
||||
"pds.darktru.win" = {
|
||||
service = "http://localhost:80";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user