From dcad336bc4892cd92a6d1e17b0555d0ac1c68d81 Mon Sep 17 00:00:00 2001 From: Ben Sima Date: Fri, 24 May 2019 19:18:33 -0700 Subject: add firefox sync --- depo/nutin-madaj/firefox.nix | 12 ++++++++++++ depo/nutin-madaj/web.nix | 1 + 2 files changed, 13 insertions(+) create mode 100644 depo/nutin-madaj/firefox.nix (limited to 'depo/nutin-madaj') 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"; -- cgit v1.2.3