tinc module: networks, hosts option loaOf -> attrsOf

wip/yesman
Eric Sagnes 8 years ago
parent 2a9de9162f
commit b4d1d37b22
  1. 4
      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.

Loading…
Cancel
Save