diff options
author | Eric Sagnes <eric.sagnes@gmail.com> | 2016-11-16 16:32:02 +0900 |
---|---|---|
committer | Eric Sagnes <eric.sagnes@gmail.com> | 2016-11-16 16:32:02 +0900 |
commit | b4d1d37b22c056d89456ff8ef3697b3bd6aa9225 (patch) | |
tree | cf2e6342aa503ece23ee00d493d92a968371f5e2 /nixos/modules | |
parent | 2a9de9162f4281428ec64dcd9c2d06e1463a5b7e (diff) | |
download | nixlib-b4d1d37b22c056d89456ff8ef3697b3bd6aa9225.tar nixlib-b4d1d37b22c056d89456ff8ef3697b3bd6aa9225.tar.gz nixlib-b4d1d37b22c056d89456ff8ef3697b3bd6aa9225.tar.bz2 nixlib-b4d1d37b22c056d89456ff8ef3697b3bd6aa9225.tar.lz nixlib-b4d1d37b22c056d89456ff8ef3697b3bd6aa9225.tar.xz nixlib-b4d1d37b22c056d89456ff8ef3697b3bd6aa9225.tar.zst nixlib-b4d1d37b22c056d89456ff8ef3697b3bd6aa9225.zip |
tinc module: networks, hosts option loaOf -> attrsOf
Diffstat (limited to 'nixos/modules')
-rw-r--r-- | nixos/modules/services/networking/tinc.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nixos/modules/services/networking/tinc.nix b/nixos/modules/services/networking/tinc.nix index f8e68fda7fc2..6cb40185274d 100644 --- a/nixos/modules/services/networking/tinc.nix +++ b/nixos/modules/services/networking/tinc.nix @@ -18,7 +18,7 @@ in networks = mkOption { default = { }; - type = with types; loaOf (submodule { + type = with types; attrsOf (submodule { options = { extraConfig = mkOption { @@ -59,7 +59,7 @@ in hosts = mkOption { default = { }; - type = types.loaOf types.lines; + type = types.attrsOf types.lines; description = '' The name of the host in the network as well as the configuration for that host. This name should only contain alphanumerics and underscores. |