summaryrefslogtreecommitdiff
path: root/depo/nutin-madaj
diff options
context:
space:
mode:
authorBen Sima <ben@bsima.me>2019-05-24 19:18:33 -0700
committerBen Sima <ben@bsima.me>2019-05-24 19:18:33 -0700
commitdcad336bc4892cd92a6d1e17b0555d0ac1c68d81 (patch)
treeaf9d55489f161668d66a7921e5ec2e86545105b9 /depo/nutin-madaj
parent15f11a570d495e9c0f36cca748134c42ab0bdd0e (diff)
add firefox sync
Diffstat (limited to 'depo/nutin-madaj')
-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";