aboutsummaryrefslogtreecommitdiffstats
path: root/mkosi.nspawn
diff options
context:
space:
mode:
authorChristopher McDowell <cmd@mcdowell.im>2019-11-15 19:49:52 +0100
committerChristopher McDowell <cmd@mcdowell.im>2019-11-15 19:49:52 +0100
commit595b4a214cf204c15fc83e58854877cdf8f890af (patch)
tree1682ba7aaa42ab5413974cafae004f5ea33555db /mkosi.nspawn
downloadmkosi-vaultwarden-595b4a214cf204c15fc83e58854877cdf8f890af.tar.gz
Initial commit
Diffstat (limited to 'mkosi.nspawn')
-rw-r--r--mkosi.nspawn15
1 files changed, 15 insertions, 0 deletions
diff --git a/mkosi.nspawn b/mkosi.nspawn
new file mode 100644
index 0000000..6c9cfa1
--- /dev/null
+++ b/mkosi.nspawn
@@ -0,0 +1,15 @@
+[Exec]
+Hostname=bitwarden
+ResolvConf=copy-host
+Timezone=copy
+NoNewPrivilege=yes
+PrivateUsers=pick
+
+[Files]
+PrivateUsersChown=true
+Bind=/root/src/bitwarden_built:/root
+Bind=/var/lib/bitwarden:/data
+
+
+[Network]
+VirtualEthernet=no