diff options
author | rnhmjoj <rnhmjoj@inventati.org> | 2017-12-03 06:02:45 +0100 |
---|---|---|
committer | rnhmjoj <rnhmjoj@inventati.org> | 2018-02-17 14:57:07 +0100 |
commit | e81811a5792315915ff2aa89134ccd3a5b80ba5f (patch) | |
tree | 2a699eedd552204bcc8046f0ab3f8791d7122c74 /nixos | |
parent | e239c1e5820bdbb3d94ccc46e2d6756b0d37057d (diff) |
nixos/modules: rename IP addresses/routes options
Diffstat (limited to 'nixos')
-rw-r--r-- | nixos/modules/services/security/hologram-agent.nix | 7 |
1 files changed, 3 insertions, 4 deletions
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"; |