summaryrefslogtreecommitdiffstats
path: root/lass/1systems/prism
diff options
context:
space:
mode:
authorlassulus <lassulus@lassul.us>2022-01-12 19:53:05 +0100
committerlassulus <lassulus@lassul.us>2022-01-12 19:53:05 +0100
commitdb2158f35ede127bedbe465887b15f4d55ffacd4 (patch)
tree8d5d1e439c0975c8f2790831af5c32ca8919ddb6 /lass/1systems/prism
parent660846db99c51175ef6d5eedda32681292285efe (diff)
l prism.r: add ipv6
Diffstat (limited to 'lass/1systems/prism')
-rw-r--r--lass/1systems/prism/physical.nix8
1 files changed, 8 insertions, 0 deletions
diff --git a/lass/1systems/prism/physical.nix b/lass/1systems/prism/physical.nix
index 26ecd1cda..151cfbf41 100644
--- a/lass/1systems/prism/physical.nix
+++ b/lass/1systems/prism/physical.nix
@@ -79,9 +79,11 @@
boot.loader.grub.devices = [ "/dev/sda" "/dev/sdb" ];
boot.kernelParams = [ "net.ifnames=0" ];
+ networking.dhcpcd.enable = false;
networking = {
hostId = "2283aaae";
defaultGateway = "95.216.1.129";
+ defaultGateway6 = { address = "fe80::1"; interface = "eth0"; };
# Use google's public DNS server
nameservers = [ "8.8.8.8" ];
interfaces.eth0.ipv4.addresses = [
@@ -94,5 +96,11 @@
prefixLength = 26;
}
];
+ interfaces.eth0.ipv6.addresses = [
+ {
+ address = "2a01:4f9:2a:1e9::1";
+ prefixLength = 64;
+ }
+ ];
};
}