nixos/modules: rename IP addresses/routes options

This commit is contained in:
rnhmjoj 2017-12-03 06:02:45 +01:00
parent e239c1e582
commit e81811a579
No known key found for this signature in database
GPG Key ID: 91BE884FBA4B591A

View File

@ -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";