WIP: Switch to NixOS #5

Draft
FunctionalHacker wants to merge 1349 commits from nix into main
Showing only changes of commit 46a0455a26 - Show all commits

View file

@ -13,15 +13,14 @@ services:
environment: environment:
TZ: "Europe/Helsinki" TZ: "Europe/Helsinki"
WEBPASSWORD: "${WEBPASSWORD}" WEBPASSWORD: "${WEBPASSWORD}"
# Volumes store your data between container upgrades
volumes: volumes:
- "/docker/pi-hole/pi-hole:/etc/pihole/" - "/docker/pihole/pihole:/etc/pihole/"
- "/docker/pi-hole/dnsmasq:/etc/dnsmasq.d/" - "/docker/pihole/dnsmasq:/etc/dnsmasq.d/"
dns: dns:
- 127.0.0.1 - 127.0.0.1
- 1.1.1.1 - 1.1.1.1
# Recommended but not required (DHCP needs NET_ADMIN) # Recommended but not required (DHCP needs NET_ADMIN)
# https://github.com/pi-hole/docker-pi-hole#note-on-capabilities # https://github.com/pihole/docker-pihole#note-on-capabilities
cap_add: cap_add:
- NET_ADMIN - NET_ADMIN
restart: unless-stopped restart: unless-stopped