From 9f1d07c119b1ad3817d51ee186a847d91e609615 Mon Sep 17 00:00:00 2001 From: clerie Date: Tue, 11 Jan 2022 19:48:43 +0100 Subject: [PATCH] Assign static IPv6 to palladium --- hosts/palladium/configuration.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/hosts/palladium/configuration.nix b/hosts/palladium/configuration.nix index b0597ca..4676b26 100644 --- a/hosts/palladium/configuration.nix +++ b/hosts/palladium/configuration.nix @@ -15,7 +15,9 @@ networking.hostName = "palladium"; networking.useDHCP = false; - networking.interfaces.enp3s0.useDHCP = true; + networking.interfaces.enp3s0.ipv6.addresses = [ { address = "2a01:4f8:1c0c:8221::11"; prefixLength = 64; } ]; + networking.defaultGateway6 = { address = "2a01:4f8:1c0c:8221::1"; interface = "enp3s0"; }; + networking.nameservers = [ "fd00:152:152::1" ]; # Keeping the harddrives quiet services.udev.extraRules = ''