summaryrefslogtreecommitdiffstats
path: root/mkosi.nspawn
diff options
context:
space:
mode:
authorDennis Eriksen <d@ennis.no>2019-10-19 10:35:11 +0200
committerDennis Eriksen <d@ennis.no>2019-10-19 10:35:11 +0200
commit60e5af6f1e162bca9ab2b3dd1cbcaa1e6e093901 (patch)
tree7ab551a62c6633c68c131ace3d4cc62b915fc301 /mkosi.nspawn
downloadmkosi-cgit-60e5af6f1e162bca9ab2b3dd1cbcaa1e6e093901.tar.gz
initial commit
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