infrastructure/config/hosts/athame/syncserver.nix
kat witch 567cb12a13
Refactors + firefox + shell helper script
Moved each virtualhost related to a service into that service file.
Set up firefox syncserver.
Moved to using home-manager to fully manage firefox profiles.
Moved waybar into its own folder.
Moved NUR into sources. Stopped using sources for arc's scream package,
so on.
2021-02-26 05:32:24 +00:00

16 lines
346 B
Nix

{ config, pkgs, ... }:
{
services.firefox.syncserver = {
enable = true;
listen.port = 5001;
allowNewUsers = false;
publicUrl = "https://sync.kittywit.ch";
};
services.nginx.virtualHosts."sync.kittywit.ch" = {
enableACME = true;
forceSSL = true;
locations = { "/".proxyPass = "http://127.0.0.1:5001"; };
};
}