aboutsummaryrefslogtreecommitdiffstats
path: root/mkosi.nspawn
diff options
context:
space:
mode:
authordennis <dennis@mrslave>2019-10-23 20:52:46 +0200
committerdennis <dennis@mrslave>2019-10-23 20:52:46 +0200
commit1ed250752c69271c79c770c1874c4c54fb5230be (patch)
tree3c880a0ef5b3564e072fbb7be12b32fc3ceef1e9 /mkosi.nspawn
downloadmkosi-pihole-1ed250752c69271c79c770c1874c4c54fb5230be.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..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