summaryrefslogtreecommitdiffstats
path: root/mkosi.nspawn
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--mkosi.nspawn14
1 files changed, 14 insertions, 0 deletions
diff --git a/mkosi.nspawn b/mkosi.nspawn
new file mode 100644
index 0000000..2dacb6a
--- /dev/null
+++ b/mkosi.nspawn
@@ -0,0 +1,14 @@
+[Exec]
+Hostname=cgit
+ResolvConf=copy-host
+Timezone=copy
+#PrivateUsers=pick
+NoNewPrivileges=yes
+
+[Files]
+PrivateUsersChown=true
+BindReadOnly=/etc/cgitrc
+BindReadOnly=/var/lib/gitolite3
+
+[Network]
+VirtualEthernet=no