3 Commits

Author SHA1 Message Date
0ebe8d1121 Serve Synapse Admin from quasar 2024-09-27 21:01:31 -07:00
d80ae92464 Add system-control-printer to marauder 2024-09-27 21:01:31 -07:00
883204e90e Set synapse secrets 2024-09-27 21:01:31 -07:00
3 changed files with 13 additions and 2 deletions

View File

@@ -1,5 +1,9 @@
{ ... }:
{ pkgs, ... }:
{
environment.systemPackages = with pkgs; [
system-config-printer
];
services.printing = {
enable = true;
};

View File

@@ -1,4 +1,4 @@
{ self, config, modulesPath, ... }:
{ self, modulesPath, pkgs, config, secrets, ... }:
{
imports = [
"${modulesPath}/virtualisation/amazon-image.nix"
@@ -28,6 +28,10 @@
reverse_proxy /_matrix/* localhost:8008
reverse_proxy /_synapse/client/* localhost:8008
'';
"admin.${config.networking.domain}".extraConfig = ''
root * ${pkgs.synapse-admin}
file_server
'';
};
};
@@ -36,6 +40,9 @@
settings = {
server_name = config.networking.domain;
serve_server_wellknown = true;
registration_shared_secret = secrets.synapse."consortium.chat".registration-shared-secret;
macaroon_secret_key = secrets.synapse."consortium.chat".macaroon-secret-key;
form_secret = secrets.synapse."consortium.chat".form-secret;
};
};

Binary file not shown.