Compare commits
3 Commits
0172e6af2b
...
0ebe8d1121
Author | SHA1 | Date | |
---|---|---|---|
0ebe8d1121 | |||
d80ae92464 | |||
883204e90e |
@@ -1,5 +1,9 @@
|
||||
{ ... }:
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
environment.systemPackages = with pkgs; [
|
||||
system-config-printer
|
||||
];
|
||||
|
||||
services.printing = {
|
||||
enable = true;
|
||||
};
|
||||
|
@@ -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;
|
||||
};
|
||||
};
|
||||
|
||||
|
BIN
secrets.json
BIN
secrets.json
Binary file not shown.
Reference in New Issue
Block a user