mirror of
https://github.com/Gerg-L/nixos.git
synced 2025-12-10 00:43:56 -05:00
changes to minecraft container
This commit is contained in:
parent
3a9755739b
commit
eee6507d9c
2 changed files with 1 additions and 2 deletions
|
|
@ -11,7 +11,7 @@ inputs: {
|
||||||
(import ./spicetify.nix inputs)
|
(import ./spicetify.nix inputs)
|
||||||
#(import ./mining.nix inputs)
|
#(import ./mining.nix inputs)
|
||||||
(import ./zfs inputs)
|
(import ./zfs inputs)
|
||||||
(import ./containers.nix inputs)
|
(import ./minecraft.nix inputs)
|
||||||
];
|
];
|
||||||
system.stateVersion = "23.05";
|
system.stateVersion = "23.05";
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -9,7 +9,6 @@ _: {...}: {
|
||||||
hostPath = "/mnt/minecraft";
|
hostPath = "/mnt/minecraft";
|
||||||
isReadOnly = false;
|
isReadOnly = false;
|
||||||
};
|
};
|
||||||
|
|
||||||
config = {pkgs, ...}: let
|
config = {pkgs, ...}: let
|
||||||
stopScript = pkgs.writeShellScript "minecraft-server-stop" ''
|
stopScript = pkgs.writeShellScript "minecraft-server-stop" ''
|
||||||
echo stop > /run/minecraft-server.stdin
|
echo stop > /run/minecraft-server.stdin
|
||||||
Loading…
Add table
Add a link
Reference in a new issue