ildkule: use ip addressess from values.nix

This commit is contained in:
Daniel Olsen 2023-01-21 11:45:05 +01:00
parent ecfde9f56a
commit 94fc936251
2 changed files with 4 additions and 4 deletions

View File

@ -1,4 +1,4 @@
{ config, pkgs, ... }: { config, pkgs, values, ... }:
{ {
imports = [ imports = [
# Include the results of the hardware scan. # Include the results of the hardware scan.
@ -25,7 +25,7 @@
networking.interfaces.ens18.ipv4 = { networking.interfaces.ens18.ipv4 = {
addresses = [ addresses = [
{ {
address = "129.241.210.187"; address = values.ildkule.ipv4;
prefixLength = 25; prefixLength = 25;
} }
]; ];
@ -33,7 +33,7 @@
networking.interfaces.ens18.ipv6 = { networking.interfaces.ens18.ipv6 = {
addresses = [ addresses = [
{ {
address = "2001:700:300:1900::1:187"; address = values.ildkule.ipv6;
prefixLength = 64; prefixLength = 64;
} }
]; ];

View File

@ -20,6 +20,6 @@ rec {
ildkule = { ildkule = {
ipv4 = "129.241.210.187"; ipv4 = "129.241.210.187";
ipv6 = "2001:700:300:1900::187"; ipv6 = "2001:700:300:1900::1:187";
}; };
} }