diff --git a/etc/nixos/services/minecraft.nix b/etc/nixos/services/minecraft.nix index 1d49d6a..b2ddf87 100644 --- a/etc/nixos/services/minecraft.nix +++ b/etc/nixos/services/minecraft.nix @@ -6,7 +6,7 @@ let ${pkgs.busybox}/bin/mkdir -p /var/lib/ ${pkgs.gzip}/bin/gzip -dc ${./configs/minecraft.tar.gz} | ${pkgs.gnutar}/bin/tar -xf - -C /var/lib echo 'eula=true' > /var/lib/minecraft/eula.txt - ${pkgs.busybox}/bin/cp -f ${properties} /var/lib/minecraft + ${pkgs.busybox}/bin/cp -f ${properties} /var/lib/minecraft/server.properties $@ ''; ops = pkgs.writeText "ops.json" (builtins.toJSON [