summaryrefslogtreecommitdiffstats
path: root/nixos/modules/services/networking/dnscrypt-proxy.nix
diff options
context:
space:
mode:
authorJoachim Fasting <joachifm@fastmail.fm>2017-03-09 17:55:45 +0100
committerJoachim Fasting <joachifm@fastmail.fm>2017-03-10 18:54:51 +0100
commitc0a8a9205b590828c2a174f751c80908e632f734 (patch)
tree11f15d028bbd64f2146e370bf1cac5d0a696479b /nixos/modules/services/networking/dnscrypt-proxy.nix
parent563c8e14965e15833c465330dfba1d94854285cf (diff)
nixos/dnscrypt-proxy: inline option renamings
In an effort to make the module more self-contained.
Diffstat (limited to 'nixos/modules/services/networking/dnscrypt-proxy.nix')
-rw-r--r--nixos/modules/services/networking/dnscrypt-proxy.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/nixos/modules/services/networking/dnscrypt-proxy.nix b/nixos/modules/services/networking/dnscrypt-proxy.nix
index 8520cc5e9ebc..d65296f422ee 100644
--- a/nixos/modules/services/networking/dnscrypt-proxy.nix
+++ b/nixos/modules/services/networking/dnscrypt-proxy.nix
@@ -307,4 +307,8 @@ in
};
})
]);
+
+ imports = [
+ (mkRenamedOptionModule [ "services" "dnscrypt-proxy" "port" ] [ "services" "dnscrypt-proxy" "localPort" ])
+ ];
}