summary refs log tree commit diff
diff options
context:
space:
mode:
authorrnhmjoj <rnhmjoj@inventati.org>2017-12-03 06:02:45 +0100
committerrnhmjoj <rnhmjoj@inventati.org>2018-02-17 14:57:07 +0100
commite81811a5792315915ff2aa89134ccd3a5b80ba5f (patch)
tree2a699eedd552204bcc8046f0ab3f8791d7122c74
parente239c1e5820bdbb3d94ccc46e2d6756b0d37057d (diff)
downloadnixpkgs-e81811a5792315915ff2aa89134ccd3a5b80ba5f.tar
nixpkgs-e81811a5792315915ff2aa89134ccd3a5b80ba5f.tar.gz
nixpkgs-e81811a5792315915ff2aa89134ccd3a5b80ba5f.tar.bz2
nixpkgs-e81811a5792315915ff2aa89134ccd3a5b80ba5f.tar.lz
nixpkgs-e81811a5792315915ff2aa89134ccd3a5b80ba5f.tar.xz
nixpkgs-e81811a5792315915ff2aa89134ccd3a5b80ba5f.tar.zst
nixpkgs-e81811a5792315915ff2aa89134ccd3a5b80ba5f.zip
nixos/modules: rename IP addresses/routes options
-rw-r--r--nixos/modules/services/security/hologram-agent.nix7
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 6c53a2df630..39ed506f761 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";