From bc6b9913785ced68cdc1d3d1f42f1dd21ca849bd Mon Sep 17 00:00:00 2001 From: Daniel Langbein Date: Sun, 15 Dec 2024 15:03:07 +0100 Subject: [PATCH] server: non-temporary IPv6 suffix (interface id) --- modules/headless.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/modules/headless.nix b/modules/headless.nix index 2cec1de..81d5d92 100644 --- a/modules/headless.nix +++ b/modules/headless.nix @@ -23,4 +23,8 @@ documentation.man.enable = false; # Don't install install info pages and the info command. documentation.info.enable = false; + + # To enable port forwarding to a headless NixOS server, + # we don't want the suffix if its global IPv6 address to change regularly. + networking.tempAddresses = "disabled"; }