summary refs log tree commit diff stats
path: root/system
diff options
context:
space:
mode:
authorAlan Pearce2024-06-05 17:19:13 +0200
committerAlan Pearce2024-06-05 17:19:13 +0200
commitd97cbc7a4bd4d7e54be4ac3e4605f4907156ffd1 (patch)
treee901b2d15fc7a28fb8f56c34d5ef855cb28b5f22 /system
parent81dbb578ca953606be17dd41c8b2d6ac6b955c5a (diff)
downloadnixfiles-d97cbc7a4bd4d7e54be4ac3e4605f4907156ffd1.tar.lz
nixfiles-d97cbc7a4bd4d7e54be4ac3e4605f4907156ffd1.tar.zst
nixfiles-d97cbc7a4bd4d7e54be4ac3e4605f4907156ffd1.zip
nanopi: add fe80::1 as static address for easier IPv6 usage
Diffstat (limited to 'system')
-rwxr-xr-xsystem/nanopi.nix8
1 files changed, 8 insertions, 0 deletions
diff --git a/system/nanopi.nix b/system/nanopi.nix
index 860b36fb..5004ecd8 100755
--- a/system/nanopi.nix
+++ b/system/nanopi.nix
@@ -308,6 +308,14 @@ in
           "10.0.0.1/20"
           "fd12:d04f:65d:42::1/56"
         ];
+        addresses = [
+          {
+            addressConfig = {
+              Address = "fe80::1/64";
+              Scope = "link";
+            };
+          }
+        ];
         networkConfig = {
           IPv6AcceptRA = false;
           IPv6SendRA = false;