From 20f81371b55a9444fa06da1fb41501509f1411d8 Mon Sep 17 00:00:00 2001 From: Dennis Eriksen Date: Sat, 19 Oct 2019 10:40:03 +0200 Subject: initial commit --- mkosi.nspawn | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 mkosi.nspawn (limited to 'mkosi.nspawn') diff --git a/mkosi.nspawn b/mkosi.nspawn new file mode 100644 index 0000000..daaf6f3 --- /dev/null +++ b/mkosi.nspawn @@ -0,0 +1,18 @@ +[Exec] +Hostname=matrix +ResolvConf=copy-host +Timezone=copy +PrivateUsers=pick +NoNewPrivileges=yes + +[Files] +PrivateUsersChown=yes +BindReadOnly=/etc/matrix-synapse/conf.d +BindReadOnly=/etc/matrix-synapse/homeserver.yaml +BindReadOnly=/etc/matrix-synapse/homeserver.signing.key +BindReadOnly=/etc/matrix-synapse/log.yaml +Bind=/var/local/matrix/matrix-synapse:/var/lib/matrix-synapse + +[Network] +VirtualEthernet=no + -- cgit v1.2.3