about summary refs log tree commit diff
path: root/pkgs/games
diff options
context:
space:
mode:
authorChris Ostrouchov <chris.ostrouchov@gmail.com>2018-08-20 19:35:22 -0400
committerSilvan Mosberger <infinisil@icloud.com>2019-02-03 02:16:11 +0100
commit58c89ec26a5d3c34e34bcb9f23db9fc62d7cf98a (patch)
tree5fadc37612bc7b13d0677d97a1ab74c6e54d563c /pkgs/games
parent9080b2eadff00772cc4d9aac3c0ec362f9d8748e (diff)
downloadnixlib-58c89ec26a5d3c34e34bcb9f23db9fc62d7cf98a.tar
nixlib-58c89ec26a5d3c34e34bcb9f23db9fc62d7cf98a.tar.gz
nixlib-58c89ec26a5d3c34e34bcb9f23db9fc62d7cf98a.tar.bz2
nixlib-58c89ec26a5d3c34e34bcb9f23db9fc62d7cf98a.tar.lz
nixlib-58c89ec26a5d3c34e34bcb9f23db9fc62d7cf98a.tar.xz
nixlib-58c89ec26a5d3c34e34bcb9f23db9fc62d7cf98a.tar.zst
nixlib-58c89ec26a5d3c34e34bcb9f23db9fc62d7cf98a.zip
nixos/mincraft-server: refactor
 - allow for options to (added 2 options):
   - agree to eula (eula.txt) true/false will create symlink over
     existing eula.txt to `/nix/store/...`.
   - whitelist users (optional and will symlink over existing
     whitelist.json and create backup)
   - server.properties can be configured with the serverProperties
     option. If there is an existing server.properties it will
     copy it to a server.properties.old to keep the old
     one. server.properties MUST be writable thus symlinking is not
     an option.
  - all ports that are stated in `server.properties` are exposed
    properly in the firewall.

(infinisil) nixos/minecraft-server: Fix, refactor and polish

Adds an option `declarative` (defaulted to false), in order to stay
(mostly) backwards compatible. The only thing that's not backwards
compatible is that you now need to agree to the EULA on evaluation time,
but that's guarded by an assertion and therefore doesn't need a release
note.
Diffstat (limited to 'pkgs/games')
0 files changed, 0 insertions, 0 deletions