summaryrefslogtreecommitdiff
path: root/depo
diff options
context:
space:
mode:
Diffstat (limited to 'depo')
-rw-r--r--depo/nutin-madaj/firefox.nix12
-rw-r--r--depo/nutin-madaj/web.nix1
2 files changed, 13 insertions, 0 deletions
diff --git a/depo/nutin-madaj/firefox.nix b/depo/nutin-madaj/firefox.nix
new file mode 100644
index 0000000..12316fb
--- /dev/null
+++ b/depo/nutin-madaj/firefox.nix
@@ -0,0 +1,12 @@
+{ ... }:
+
+{
+ services = {
+ firefox.syncserver = {
+ enable = true;
+ allowNewUsers = true;
+ listen.port = 5001;
+ publicUri = "http://firefoxsync.simatime.com";
+ };
+ };
+}
diff --git a/depo/nutin-madaj/web.nix b/depo/nutin-madaj/web.nix
index 16f38e2..62bad1b 100644
--- a/depo/nutin-madaj/web.nix
+++ b/depo/nutin-madaj/web.nix
@@ -15,6 +15,7 @@ in
"bsima.me".root = "/home/ben/public_html/";
"www.bsima.me".root = "/home/ben/public_html/";
"simatime.com".locations."/".root = "/srv/www/";
+ "firefoxsync.simatime.com".locations."/".proxyPass = "http://localhost:5001";
"hero.simatime.com".locations."/".proxyPass = "http://${bensIp}:3001";
"tv.simatime.com".locations."/".proxyPass = "http://${bensIp}:8096"; # emby runs on port 8096
"deluge.simatime.com".locations."/".proxyPass = "http://${bensIp}:8112";