about summary refs log tree commit diff
path: root/ops/nixos
diff options
context:
space:
mode:
authorVincent Ambo <tazjin@google.com>2020-04-20T16·05+0100
committerVincent Ambo <tazjin@google.com>2020-04-20T16·06+0100
commitd6f5ca7cafcaad006697abedfb40c885427f3d58 (patch)
tree951296c260052207d50f6d759dd0f48d123a2863 /ops/nixos
parent0f0f1a547f761ffd3a71fd3fbfaffb4044f3b628 (diff)
feat(ops/nixos/camden): Add static IPv6 address to camden r/640
Diffstat (limited to 'ops/nixos')
-rw-r--r--ops/nixos/camden/default.nix7
1 files changed, 7 insertions, 0 deletions
diff --git a/ops/nixos/camden/default.nix b/ops/nixos/camden/default.nix
index 3bf0559b86d1..46e9b9c55422 100644
--- a/ops/nixos/camden/default.nix
+++ b/ops/nixos/camden/default.nix
@@ -73,6 +73,13 @@ in lib.fix(self: {
   networking = {
     hostName = "camden";
     interfaces.enp1s0.useDHCP = true;
+    interfaces.enp1s0.ipv6.addresses = [
+      {
+        address = "2a01:4b00:821a:ce02::5";
+        prefixLength = 64;
+      }
+    ];
+
     firewall.allowedTCPPorts = [ 22 8080 80 443 1935 ];
   };