diff options
Diffstat (limited to 'mkosi.nspawn')
-rw-r--r-- | mkosi.nspawn | 18 |
1 files changed, 18 insertions, 0 deletions
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 + |