diff --git a/hosts/shirley/configuration.nix b/hosts/shirley/configuration.nix index 47bb276..b8bc2fd 100644 --- a/hosts/shirley/configuration.nix +++ b/hosts/shirley/configuration.nix @@ -1,4 +1,4 @@ -{ pkgs, baseDomain, ... }: { +{ pkgs, config, ... }: { cj.deployment.environment = "prod"; imports = [ @@ -6,6 +6,7 @@ ../../services/mumble.nix ../../services/website.nix ../../services/vaultwarden.nix + ../../services/matrix.nix ../../services/dokuwiki.nix ../../services/freescout.nix ../../services/hedgedoc.nix @@ -27,4 +28,13 @@ 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" ]; + }]; }