diff options
author | Dennis Eriksen <d@ennis.no> | 2019-10-19 10:40:03 +0200 |
---|---|---|
committer | Dennis Eriksen <d@ennis.no> | 2019-10-19 10:40:03 +0200 |
commit | 20f81371b55a9444fa06da1fb41501509f1411d8 (patch) | |
tree | e612f46f2fd5a182e9b5c7d543f445cad7a5c9f5 /mkosi.nspawn | |
download | mkosi-matrix-20f81371b55a9444fa06da1fb41501509f1411d8.tar.gz |
initial commit
Diffstat (limited to '')
-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 + |