This repository has no description
0

Configure Feed

Select the types of activity you want to include in your feed.

pkgs.minidhcp: RIP

-20
-20
5pkgs/minidhcp/minidhcp
··· 1 - #!/usr/bin/env nix-shell 2 - #!nix-shell -i bash -p dnsmasq 3 - 4 - set -efux 5 - 6 - tmpdir=$(mktemp -d) 7 - trap 'rm -rf "$tmpdir"' EXIT 8 - 9 - cat > "$tmpdir"/dnsmasq.conf <<EOF 10 - interface=vm0 11 - dhcp-leasefile=$tmpdir/dnsmasq.leases 12 - port=0 13 - 14 - dhcp-range=10.102.0.100,10.102.0.150,24h 15 - 16 - # DNS 17 - dhcp-option=option:dns-server,10.102.0.1 18 - EOF 19 - 20 - sudo dnsmasq -k -C "$tmpdir"/dnsmasq.conf