Skip to content
Snippets Groups Projects
Commit 2b29610d authored by Jean-Paul Calderone's avatar Jean-Paul Calderone
Browse files

Shorter expression and more consistent with other config code

parent d1f3373f
No related branches found
No related tags found
No related merge requests found
......@@ -93,7 +93,7 @@ in
# the option that says whether this is even turned on.
config = lib.mkIf cfg.enable
{ services.tahoe.nodes."${storage-node-name}" =
{ package = config.services.private-storage.tahoe.package;
{ package = cfg.tahoe.package;
# Each attribute in this set corresponds to a section in the tahoe.cfg
# file. Attributes on those sets correspond to individual assignments
# in those sections.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment