From f3b8602f30d1dacec62dd9e15c86dcb39266cc6d Mon Sep 17 00:00:00 2001 From: Eli Ribble Date: Tue, 11 Nov 2025 17:57:35 +0000 Subject: [PATCH] Actually serve sync.nidus.cloud with the new config. --- flake.lock | 8 ++++---- flake.nix | 2 +- modules/system/nidus-sync.nix | 4 ++-- roles/nidus-sync.nix | 3 --- 4 files changed, 7 insertions(+), 10 deletions(-) diff --git a/flake.lock b/flake.lock index c4acfc7..0e5a9f7 100644 --- a/flake.lock +++ b/flake.lock @@ -295,17 +295,17 @@ "nixpkgs": "nixpkgs_3" }, "locked": { - "lastModified": 1762877358, - "narHash": "sha256-RzHI6lbcioRVIsKGMd1KIH2I/WvEJ124zeR2g6xcMT0=", + "lastModified": 1762883247, + "narHash": "sha256-ED6kDWTM79EA/ApNjKsQL/AvbR5Pm2lIqeKNxsju7ac=", "owner": "Gleipnir-Technology", "repo": "nidus-sync", - "rev": "f0ace114b0789d82fa70be0eb5591881ba31c1a5", + "rev": "0a74bd83454c5a07444849e08395ca220aa5ef62", "type": "github" }, "original": { "owner": "Gleipnir-Technology", "repo": "nidus-sync", - "rev": "f0ace114b0789d82fa70be0eb5591881ba31c1a5", + "rev": "0a74bd83454c5a07444849e08395ca220aa5ef62", "type": "github" } }, diff --git a/flake.nix b/flake.nix index 425508a..824eef1 100644 --- a/flake.nix +++ b/flake.nix @@ -23,7 +23,7 @@ type = "github"; owner = "Gleipnir-Technology"; repo = "nidus-sync"; - rev = "f0ace114b0789d82fa70be0eb5591881ba31c1a5"; + rev = "0a74bd83454c5a07444849e08395ca220aa5ef62"; }; nixpkgs.url = "github:NixOS/nixpkgs/nixos-25.05"; nixvim = { diff --git a/modules/system/nidus-sync.nix b/modules/system/nidus-sync.nix index bd187ae..01df78b 100644 --- a/modules/system/nidus-sync.nix +++ b/modules/system/nidus-sync.nix @@ -22,11 +22,11 @@ in { ffmpeg nidus-sync-pkg ]; - /*services.caddy.virtualHosts."${domainName}" = { + services.caddy.virtualHosts."${domainName}" = { extraConfig = '' reverse_proxy http://127.0.0.1:${toString port} ''; - };*/ + }; services.postgresql = { enable = true; ensureDatabases = [databaseName]; diff --git a/roles/nidus-sync.nix b/roles/nidus-sync.nix index 66d6487..099e242 100644 --- a/roles/nidus-sync.nix +++ b/roles/nidus-sync.nix @@ -24,9 +24,6 @@ in { fss-gleipnir-qa.services { - caddy.virtualHosts."sync.nidus.cloud".extraConfig = '' - reverse_proxy http://127.0.0.1:9001 - ''; caddy.virtualHosts."dev-sync.nidus.cloud".extraConfig = '' reverse_proxy http://127.0.0.1:9002 '';