clanModules: Init nginx module. matrix-synapse: don't assume domain names #1906

Merged
clan-bot merged 3 commits from Qubasa/clan-core:Qubasa-new-main into main 2024-08-19 10:59:16 +00:00
Owner

clanModules: Init vaultwarden, the bitwarden server

clanModules: Init vaultwarden, the bitwarden server
clan-bot was assigned by Qubasa 2024-08-19 09:34:09 +00:00
Qubasa added 2 commits 2024-08-19 09:34:10 +00:00
clanModules: Init vaultwarden, the bitwarden server
Some checks failed
buildbot/nix-build .#checks.x86_64-linux.package-inventory-schema Build done.
buildbot/nix-build .#checks.x86_64-linux.container Build done.
buildbot/nix-build .#checks.x86_64-linux.package-clan-cli Build done.
buildbot/nix-build .#checks.x86_64-linux.package-inventory-schema-pretty Build done.
buildbot/nix-build .#checks.x86_64-linux.package-clan-cli-docs Build done.
buildbot/nix-build .#checks.x86_64-linux.package-clan-ts-api Build done.
buildbot/nix-build .#checks.x86_64-linux.mumble Build done.
buildbot/nix-build .#checks.x86_64-linux.package-editor Build done.
buildbot/nix-build .#checks.x86_64-linux.package-default Build done.
buildbot/nix-build .#checks.x86_64-linux.lib-jsonschema-nix-unit-tests Build done.
buildbot/nix-build .#checks.x86_64-linux.nixos-test_install_machine Build done.
buildbot/nix-build .#checks.x86_64-linux.package-impure-checks Build done.
buildbot/nix-build .#checks.x86_64-linux.package-merge-after-ci Build done.
buildbot/nix-build .#checks.x86_64-linux.package-moonlight-sunshine-accept Build done.
buildbot/nix-build .#checks.x86_64-linux.postgresql Build done.
buildbot/nix-build .#checks.x86_64-linux.package-pending-reviews Build done.
buildbot/nix-build .#checks.x86_64-linux.package-tea-create-pr Build done.
buildbot/nix-build .#checks.x86_64-linux.template-minimal Build done.
buildbot/nix-build .#checks.x86_64-linux.package-webview-ui Build done.
buildbot/nix-build .#checks.x86_64-linux.package-zerotier-members Build done.
buildbot/nix-build .#checks.x86_64-linux.package-zt-tcp-relay Build done.
buildbot/nix-build .#checks.x86_64-linux.package-zerotierone Build done.
buildbot/nix-build .#checks.x86_64-linux.nixos-flash-installer Build done.
buildbot/nix-build .#checks.x86_64-linux.secrets Build done.
buildbot/nix-build .#checks.x86_64-linux.zt-tcp-relay Build done.
buildbot/nix-build .#checks.x86_64-linux.syncthing Build done.
buildbot/nix-build .#checks.x86_64-linux.wayland-proxy-virtwl Build done.
buildbot/nix-build .#checks.x86_64-linux.flash Build done.
buildbot/nix-eval Build done.
buildbot/nix-build .#checks.x86_64-linux.test-installation Build done.
8326c9d941
Qubasa force-pushed Qubasa-new-main from 8326c9d941 to 398997a98e 2024-08-19 09:41:32 +00:00 Compare
Qubasa force-pushed Qubasa-new-main from 398997a98e to eb5c89db21 2024-08-19 10:00:40 +00:00 Compare
Qubasa force-pushed Qubasa-new-main from eb5c89db21 to c14a0689bc 2024-08-19 10:53:36 +00:00 Compare
clan-bot merged commit b29f649343 into main 2024-08-19 10:59:16 +00:00
lassulus reviewed 2024-08-20 08:45:58 +00:00
@ -0,0 +27,4 @@
let
path = config.clan.core.facts.services."${nginx_acme_email}".public."${nginx_acme_email}".path;
in
if builtins.pathExists path then builtins.readFile path else null
Owner

this breaks with other fact stores than the in_repo one. it's better to use .value here instead of .path

this breaks with other fact stores than the in_repo one. it's better to use .value here instead of .path
lassulus reviewed 2024-08-20 08:47:08 +00:00
@ -0,0 +102,4 @@
};
clan.core.facts.services = {
"${admin_pwd_secret}" = {
Owner

why is this using variables?

why is this using variables?
lassulus reviewed 2024-08-20 08:48:02 +00:00
@ -0,0 +135,4 @@
};
};
systemd.services."${module_name}" = {
Owner

better not use variables in here

better not use variables in here
lassulus reviewed 2024-08-20 08:48:14 +00:00
@ -0,0 +141,4 @@
};
};
services."${module_name}" = {
Owner

better not use variables here

better not use variables here
lassulus reviewed 2024-08-20 08:48:45 +00:00
@ -0,0 +66,4 @@
sslDhparam = config.security.dhparams.params.nginx.path;
};
security.dhparams = {
Owner

what is this needed for?

what is this needed for?
lassulus reviewed 2024-08-20 08:50:05 +00:00
@ -178,3 +179,3 @@
enable = true;
virtualHosts = {
${cfg.domain} = {
"${cfg.domain.server}" = {
Owner

this is incorrect, the well-known matrix entry needs to be on the root domain (not matrix.something)

this is incorrect, the well-known matrix entry needs to be on the root domain (not matrix.something)
Owner

Reverted for now because of the concerns raised here: #1941

Reverted for now because of the concerns raised here: https://git.clan.lol/clan/clan-core/pulls/1941
Sign in to join this conversation.
No reviewers
No Milestone
No project
No Assignees
3 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: clan/clan-core#1906
No description provided.