diff --git a/nixos/modules/private-storage.nix b/nixos/modules/private-storage.nix index 65e6faccf40a63e051328374a8806c5470ec15d2..ae0eb077abeb1098e40ae41442d50fbe2ea8981e 100644 --- a/nixos/modules/private-storage.nix +++ b/nixos/modules/private-storage.nix @@ -33,6 +33,14 @@ in The package to use for the Tahoe-LAFS daemon. ''; }; + services.private-storage.tahoe.node."tub.port" = lib.mkOption + { default = "disabled"; + type = lib.types.str; + example = lib.literalExample "tcp:8098"; + description = '' + A value for the [node]tub.port in tahoe.cfg. + ''; + }; services.private-storage.tahoe.node."tub.location" = lib.mkOption { default = "disabled"; type = lib.types.str; @@ -50,6 +58,7 @@ in # XXX Should try to name that is unique across the grid. { nickname = "storage"; "web.port" = "tcp:3456:interface=127.0.0.1"; + "tub.port" = cfg.tahoe.node."tub.port"; "tub.location" = cfg.tahoe.node."tub.location"; }; storage =