From 94fc9362517d0393730a9d100356ed9a6d524891 Mon Sep 17 00:00:00 2001 From: Daniel Olsen Date: Sat, 21 Jan 2023 11:45:05 +0100 Subject: [PATCH] ildkule: use ip addressess from values.nix --- hosts/ildkule/configuration.nix | 6 +++--- values.nix | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/hosts/ildkule/configuration.nix b/hosts/ildkule/configuration.nix index 5d63f5a..9651141 100644 --- a/hosts/ildkule/configuration.nix +++ b/hosts/ildkule/configuration.nix @@ -1,4 +1,4 @@ -{ config, pkgs, ... }: +{ config, pkgs, values, ... }: { imports = [ # Include the results of the hardware scan. @@ -25,7 +25,7 @@ networking.interfaces.ens18.ipv4 = { addresses = [ { - address = "129.241.210.187"; + address = values.ildkule.ipv4; prefixLength = 25; } ]; @@ -33,7 +33,7 @@ networking.interfaces.ens18.ipv6 = { addresses = [ { - address = "2001:700:300:1900::1:187"; + address = values.ildkule.ipv6; prefixLength = 64; } ]; diff --git a/values.nix b/values.nix index e6cc7f8..ccab089 100644 --- a/values.nix +++ b/values.nix @@ -20,6 +20,6 @@ rec { ildkule = { ipv4 = "129.241.210.187"; - ipv6 = "2001:700:300:1900::187"; + ipv6 = "2001:700:300:1900::1:187"; }; }