Migrate to nix-minecraft
This commit is contained in:
parent
354d4ffbe5
commit
65764d76ff
6 changed files with 90 additions and 22 deletions
|
@ -6,14 +6,12 @@
|
|||
./homarr.nix
|
||||
./jellyfin.nix
|
||||
./jellyseerr.nix
|
||||
./minecraft.nix
|
||||
./lidarr.nix
|
||||
./prowlarr.nix
|
||||
./qbittorrent.nix
|
||||
./radarr.nix
|
||||
./recyclarr.nix
|
||||
./sonarr.nix
|
||||
|
||||
./microbin
|
||||
];
|
||||
virtualisation.oci-containers.backend = "docker";
|
||||
|
|
|
@ -1,19 +0,0 @@
|
|||
{ ... }:
|
||||
|
||||
{
|
||||
virtualisation.oci-containers.containers = {
|
||||
minecraft = {
|
||||
autoStart = true;
|
||||
image = "itzg/minecraft-server";
|
||||
ports = [
|
||||
"25565:25565"
|
||||
];
|
||||
volumes = [
|
||||
"/srv/containers/minecraft:/data:rw"
|
||||
];
|
||||
environment = {
|
||||
EULA = "true";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue