From fde7205b204cc32b09288a6ea1abeaa38f79a551 Mon Sep 17 00:00:00 2001 From: aszlig Date: Mon, 15 Aug 2016 23:42:50 +0200 Subject: modules/starbound: Remove clear* options These options are only a one-off setting that's causing the player and universe files to be cleared on server startup. The service populates all options declaratively while this option is something that IMHO doesn't fall into this category, not to mention I fail to see why this would have an advantage over deleting those files using the command line. Signed-off-by: aszlig --- modules/services/starbound.nix | 25 +++++-------------------- 1 file changed, 5 insertions(+), 20 deletions(-) (limited to 'modules/services') diff --git a/modules/services/starbound.nix b/modules/services/starbound.nix index ae031df3..ce7ecd24 100644 --- a/modules/services/starbound.nix +++ b/modules/services/starbound.nix @@ -34,8 +34,11 @@ let inherit (attrs) admin password; }) cfg.users; - inherit (cfg) allowAssetsMismatch clearPlayerFiles clearUniverseFiles; - inherit (cfc) maxPlayers safeScripts serverName serverFidelity; + inherit (cfg) + allowAssetsMismatch maxPlayers safeScripts serverName serverFidelity; + + clearPlayerFiles = false; + clearUniverseFiles = false; gameServerBind = cfg.bind; gameServerPort = cfg.port; @@ -143,24 +146,6 @@ in { ''; }; - clearPlayerFiles = mkOption { - # XXX: Figure out the exact semantics of this. - type = types.bool; - default = false; - description = '' - Forces players to use new characters or to have no gear or tech. - ''; - }; - - clearUniverseFiles = mkOption { - # XXX: Figure out the exact semantics of this. - type = types.bool; - default = false; - description = '' - Forces player characters to use fresh universe data and navigation maps. - ''; - }; - bannedIPs = mkOption { type = types.listOf types.str; default = []; -- cgit 1.4.1