Add matrix on shirley

Secrets not yet added to not brick our matrix if we accidentally deploy
This commit is contained in:
Moritz 'e1mo' Fromm 2023-02-10 00:47:54 +01:00
parent 34a142fc2d
commit 49f72f1b89
No known key found for this signature in database
GPG key ID: 1D5D79A439E787F1

View file

@ -1,4 +1,4 @@
{ pkgs, baseDomain, ... }: { { pkgs, config, ... }: {
cj.deployment.environment = "prod"; cj.deployment.environment = "prod";
imports = [ imports = [
@ -6,6 +6,7 @@
../../services/mumble.nix ../../services/mumble.nix
../../services/website.nix ../../services/website.nix
../../services/vaultwarden.nix ../../services/vaultwarden.nix
../../services/matrix.nix
../../services/dokuwiki.nix ../../services/dokuwiki.nix
../../services/freescout.nix ../../services/freescout.nix
../../services/hedgedoc.nix ../../services/hedgedoc.nix
@ -27,4 +28,13 @@
ipv6.addresses = [ { address = "2a01:4f8:c0c:83eb::1"; prefixLength = 64; } ]; ipv6.addresses = [ { address = "2a01:4f8:c0c:83eb::1"; prefixLength = 64; } ];
}; };
}; };
# This is specific to every host!
systemd.mounts = [{
what = "/dev/disk/by-id/scsi-0HC_Volume_7628580";
where = config.services.matrix-synapse.settings.media_store_path;
type = "ext4";
options = "discard,nofail,defaults";
wantedBy = [ "multi-user.target" ];
}];
} }