aboutsummaryrefslogtreecommitdiffstats
path: root/mkosi.nspawn
diff options
context:
space:
mode:
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..bc9dca7
--- /dev/null
+++ b/mkosi.nspawn
@@ -0,0 +1,15 @@
+[Exec]
+Hostname=pihole
+ResolvConf=copy-host
+Timezone=copy
+PrivateUsers=yes
+NoNewPrivilegs=yes
+
+[Files]
+PrivateUsersChown=yes
+Bind=/var/local/pihole/etc-pihole:/etc/pihole
+Bind=/var/local/pihole/etc-dnsmasq.d:/etc/dnsmasq.d
+Bind=/var/local/pihole/pihole.log:/var/log/pihole.log
+
+[Network]
+Bridge=br0