Skip to content

Commit

Permalink
docs: improve files option description
Browse files Browse the repository at this point in the history
  • Loading branch information
Misterio77 committed Dec 26, 2024
1 parent 20ce627 commit 1fa6c09
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions modules/minecraft-servers.nix
Original file line number Diff line number Diff line change
Expand Up @@ -482,9 +482,15 @@ in
arbitrary files in the server's data directory.
'';
files = with types; mkOpt' (attrsOf (either path configType)) { } ''
Things to copy into this server's data directory. Similar to
symlinks, but these are actual files. Useful for configuration
files that don't behave well when read-only.
Things to copy into this server's data directory. Similar to symlinks,
but these are actual, writable, files. Useful for configuration files
that don't behave well when read-only. Directories are copied recursively and
dereferenced. They will be deleted after the server stops, so any modification
is discarded.
These files may include placeholders to substitute with values from
<option>services.minecraft-servers.environmentFile</option>
(i.e. @variable_name@).
'';

managementSystem = mkOption {
Expand Down

0 comments on commit 1fa6c09

Please sign in to comment.