tahoe module: introducers, nodes option loaOf -> attrsOf

This commit is contained in:
Eric Sagnes 2016-11-16 16:31:05 +09:00
parent 418901a906
commit 2a9de9162f
1 changed files with 2 additions and 2 deletions
nixos/modules/services/network-filesystems

View File

@ -8,7 +8,7 @@ in
options.services.tahoe = { options.services.tahoe = {
introducers = mkOption { introducers = mkOption {
default = {}; default = {};
type = with types; loaOf (submodule { type = with types; attrsOf (submodule {
options = { options = {
nickname = mkOption { nickname = mkOption {
type = types.str; type = types.str;
@ -49,7 +49,7 @@ in
}; };
nodes = mkOption { nodes = mkOption {
default = {}; default = {};
type = with types; loaOf (submodule { type = with types; attrsOf (submodule {
options = { options = {
nickname = mkOption { nickname = mkOption {
type = types.str; type = types.str;