diff options
author | Ben Sima <ben@bsima.me> | 2019-05-24 19:18:33 -0700 |
---|---|---|
committer | Ben Sima <ben@bsima.me> | 2019-05-24 19:18:33 -0700 |
commit | dcad336bc4892cd92a6d1e17b0555d0ac1c68d81 (patch) | |
tree | af9d55489f161668d66a7921e5ec2e86545105b9 | |
parent | 15f11a570d495e9c0f36cca748134c42ab0bdd0e (diff) |
add firefox sync
-rw-r--r-- | depo/nutin-madaj/firefox.nix | 12 | ||||
-rw-r--r-- | depo/nutin-madaj/web.nix | 1 |
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"; |