From e81811a5792315915ff2aa89134ccd3a5b80ba5f Mon Sep 17 00:00:00 2001 From: rnhmjoj Date: Sun, 3 Dec 2017 06:02:45 +0100 Subject: nixos/modules: rename IP addresses/routes options --- nixos/modules/services/security/hologram-agent.nix | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'nixos/modules') diff --git a/nixos/modules/services/security/hologram-agent.nix b/nixos/modules/services/security/hologram-agent.nix index 6c53a2df6306..39ed506f7617 100644 --- a/nixos/modules/services/security/hologram-agent.nix +++ b/nixos/modules/services/security/hologram-agent.nix @@ -35,10 +35,9 @@ in { config = mkIf cfg.enable { boot.kernelModules = [ "dummy" ]; - networking.interfaces.dummy0 = { - ipAddress = "169.254.169.254"; - prefixLength = 32; - }; + networking.interfaces.dummy0.ipv4.addresses = [ + { address = "169.254.169.254"; prefixLength = 32; } + ]; systemd.services.hologram-agent = { description = "Provide EC2 instance credentials to machines outside of EC2"; -- cgit 1.4.1