mirror of
https://codeberg.org/muon/home.git
synced 2025-12-06 08:07:45 +00:00
Add astral autostart
This commit is contained in:
parent
7f0d973b75
commit
1562d57258
2 changed files with 7 additions and 1 deletions
|
|
@ -20,6 +20,10 @@ in {
|
|||
default = "4G";
|
||||
description = "server detitated wam";
|
||||
};
|
||||
autoStart = lib.mkEnableOption {
|
||||
default = true;
|
||||
description = "start server on boot";
|
||||
};
|
||||
};
|
||||
|
||||
config = lib.mkIf config.mods.server.astral.enable {
|
||||
|
|
@ -28,6 +32,7 @@ in {
|
|||
serverProperties = {
|
||||
online-mode = true;
|
||||
};
|
||||
autoStart = config.mods.server.astral.autoStart;
|
||||
jvmOpts = (import ./aikar-flags.nix) config.mods.server.astral.memory;
|
||||
package = pkgs.fabricServers.${serverVersion}.override {
|
||||
loaderVersion = fabricVersion;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue