summary refs log tree commit diff
path: root/nixos/modules/services/networking
diff options
context:
space:
mode:
authorEric Sagnes <eric.sagnes@gmail.com>2016-11-16 16:32:02 +0900
committerEric Sagnes <eric.sagnes@gmail.com>2016-11-16 16:32:02 +0900
commitb4d1d37b22c056d89456ff8ef3697b3bd6aa9225 (patch)
treecf2e6342aa503ece23ee00d493d92a968371f5e2 /nixos/modules/services/networking
parent2a9de9162f4281428ec64dcd9c2d06e1463a5b7e (diff)
downloadnixlib-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/services/networking')
-rw-r--r--nixos/modules/services/networking/tinc.nix4
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.