Starsector: Difference between revisions

Makuru (talk | contribs)
Made it more clear, how to use the workaround.
Klinger (talk | contribs)
m Category:Applications added, Guide removed
 
(One intermediate revision by one other user not shown)
Line 12: Line 12:
   environment.systemPackages = [
   environment.systemPackages = [
     # overrides the NixOS package, starsector, see: https://wiki.nixos.org/wiki/Starsector
     # overrides the NixOS package, starsector, see: https://wiki.nixos.org/wiki/Starsector
     (starsector.overrideAttrs ({ ... }: {
     (pkgs.starsector.overrideAttrs ({ ... }: {
       postInstall = ''
       postInstall = ''
         cp ${dotfiles/starsector/settings.json} $out/share/starsector/data/config/settings.json
         cp ${dotfiles/starsector/settings.json} $out/share/starsector/data/config/settings.json
Line 23: Line 23:
   ];
   ];
</syntaxhighlight>This commands takes the <code><code>settings.json</code></code> and changes the commandline parameters:<code>Xms</code> <code>Xmx</code> to take <code>8192m</code> or <code>8GiB</code> of RAM.
</syntaxhighlight>This commands takes the <code><code>settings.json</code></code> and changes the commandline parameters:<code>Xms</code> <code>Xmx</code> to take <code>8192m</code> or <code>8GiB</code> of RAM.
[[Category:Guide]]
[[Category:Applications]]
[[Category:Gaming]]
[[Category:Gaming]]