nixos: fix formatting of services.copyparty.volumes.<name>.access

List will now show up properly on the nixos manual!
This commit is contained in:
Toast 2026-01-12 02:00:35 +01:00
parent dfff1d4e95
commit 2e6b015943

View file

@ -198,21 +198,21 @@ in
Attribute list of permissions and the users to apply them to. Attribute list of permissions and the users to apply them to.
The key must be a string containing any combination of allowed permission: The key must be a string containing any combination of allowed permission:
"r" (read): list folder contents, download files * "r" (read): list folder contents, download files
"w" (write): upload files; need "r" to see the uploads * "w" (write): upload files; need "r" to see the uploads
"m" (move): move files and folders; need "w" at destination * "m" (move): move files and folders; need "w" at destination
"d" (delete): permanently delete files and folders * "d" (delete): permanently delete files and folders
"g" (get): download files, but cannot see folder contents * "g" (get): download files, but cannot see folder contents
"G" (upget): "get", but can see filekeys of their own uploads * "G" (upget): "get", but can see filekeys of their own uploads
"h" (html): "get", but folders return their index.html * "h" (html): "get", but folders return their index.html
"a" (admin): can see uploader IPs, config-reload * "a" (admin): can see uploader IPs, config-reload
For example: "rwmd" For example: "rwmd"
The value must be one of: The value must be one of:
an account name, defined in `accounts` * an account name, defined in `accounts`
a list of account names * a list of account names
"*", which means "any account" * "*", which means "any account"
''; '';
example = literalExpression '' example = literalExpression ''
{ {