This commit is contained in:
Henri Dohmen 2025-07-16 10:05:03 +02:00
parent 2de311ffc6
commit 55cc5eedd5
Signed by: hd
GPG key ID: AB79213B044674AE
4 changed files with 12 additions and 10 deletions

View file

@ -38,6 +38,7 @@ in
address = var.wg.wireguard-network.${host}.ips; address = var.wg.wireguard-network.${host}.ips;
privateKeyFile = var.wg.keyFile; privateKeyFile = var.wg.keyFile;
peers = [ (lib.removeAttrs var.wg.wireguard-network."roam" [ "ips" ]) ]; peers = [ (lib.removeAttrs var.wg.wireguard-network."roam" [ "ips" ]) ];
mtu = 1248;
}; };
}; };
}; };

View file

@ -51,7 +51,7 @@ in
enable = true; enable = true;
settings = { settings = {
"identity.fxaccounts.enabled" = true; "identity.fxaccounts.enabled" = true;
"identity.sync.tokenserver.uri" = "http://fx-sync.lan/1.0/sync/1.5"; "identity.sync.tokenserver.uri" = "https://firefox-syncserver.roam.hdohmen.de/1.0/sync/1.5";
"webgl.disabled" = false; "webgl.disabled" = false;
"privacy.resistFingerprinting" = false; "privacy.resistFingerprinting" = false;
"privacy.clearOnShutdown.history" = false; "privacy.clearOnShutdown.history" = false;
@ -97,7 +97,6 @@ in
settings = { settings = {
main = { main = {
"font" = "monospace:size=11"; "font" = "monospace:size=11";
"dpi-aware" = "yes";
}; };
}; };
}; };

View file

@ -19,14 +19,9 @@
secrets = config.age.secrets.roam-firefox-sync-secret.path; secrets = config.age.secrets.roam-firefox-sync-secret.path;
singleNode = { singleNode = {
enable = true; enable = true;
hostname = "fx-sync.lan"; hostname = "firefox-syncserver.roam.hdohmen.de";
enableTLS = false; enableNginx = true;
}; enableTLS = true;
};
services.nginx.virtualHostsPriv."fx-sync.lan" = {
locations."/" = {
proxyPass = "http://127.0.0.1:${toString config.services.firefox-syncserver.settings.port}";
recommendedProxySettings = true;
}; };
}; };
} }

View file

@ -23,6 +23,13 @@ with lib;
addr = var.wg.ips.roam; addr = var.wg.ips.roam;
port = 80; port = 80;
} }
/*
{ TODO: Fix certs
addr = var.wg.ips.roam;
port = 443;
ssl = true;
}
*/
]; ];
} }
) config.services.nginx.virtualHostsPriv; ) config.services.nginx.virtualHostsPriv;