about summary refs log tree commit diff
path: root/modules/services
diff options
context:
space:
mode:
authoraszlig <aszlig@redmoonstudios.org>2016-08-15 23:42:50 +0200
committeraszlig <aszlig@redmoonstudios.org>2016-08-15 23:42:50 +0200
commitfde7205b204cc32b09288a6ea1abeaa38f79a551 (patch)
treef7475a7dd6153ab16b034321d7e10b8eee1722cb /modules/services
parentafca75ffd8038236943d5d7e39dda912328bbea5 (diff)
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 <aszlig@redmoonstudios.org>
Diffstat (limited to 'modules/services')
-rw-r--r--modules/services/starbound.nix25
1 files changed, 5 insertions, 20 deletions
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 = [];