fixes
This commit is contained in:
parent
2de311ffc6
commit
55cc5eedd5
4 changed files with 12 additions and 10 deletions
|
|
@ -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;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -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";
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -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;
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -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;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue