From 1039d1d47a53be0c814a03608e94a9d0e8f4405b Mon Sep 17 00:00:00 2001 From: Alejandro Soto Date: Sat, 19 Apr 2025 10:48:15 -0600 Subject: sys/ns: implement automatic PTR zones --- sys/ns/ptr/static-prefix-v6/default.nix | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 sys/ns/ptr/static-prefix-v6/default.nix (limited to 'sys/ns/ptr/static-prefix-v6/default.nix') diff --git a/sys/ns/ptr/static-prefix-v6/default.nix b/sys/ns/ptr/static-prefix-v6/default.nix new file mode 100644 index 0000000..f02222c --- /dev/null +++ b/sys/ns/ptr/static-prefix-v6/default.nix @@ -0,0 +1,16 @@ +{ config, ... }: +let + inherit (config.local) nets; +in +{ + imports = [ + ./serial.nix + ]; + + config = { + localNS = { + enable = true; + ptrNet.v6 = "static-prefix"; + }; + }; +} -- cgit v1.2.3