22 lines
484 B
Nix
22 lines
484 B
Nix
{
|
|
config,
|
|
pkgs,
|
|
...
|
|
}: let
|
|
port = 5126;
|
|
in {
|
|
sops.secrets."sync-secrets".mode = "0440";
|
|
sops.secrets."sync-secrets".owner = config.users.users.firefox-syncserver.name;
|
|
services.firefox-syncserver = {
|
|
enable = true;
|
|
secrets = config.sops.secrets."sync-secrets".path;
|
|
singleNode = {
|
|
enable = true;
|
|
hostname = "sync.gladtherescake.eu";
|
|
url = "http://localhost:${toString port}";
|
|
enableNginx = true;
|
|
enableTLS = true;
|
|
};
|
|
};
|
|
}
|