Skip to content

Commit

Permalink
add minecraft servers
Browse files Browse the repository at this point in the history
  • Loading branch information
Czichy committed Feb 2, 2025
1 parent 02b0e10 commit 7c7fcd8
Show file tree
Hide file tree
Showing 15 changed files with 141 additions and 1,497 deletions.
5 changes: 5 additions & 0 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,11 @@
};
};

nix-minecraft = {
url = "github:Misterio77/nix-minecraft";
inputs.nixpkgs.follows = "nixpkgs";
};

# This exists, I guess
flake-compat = {
url = "github:edolstra/flake-compat";
Expand Down
2 changes: 2 additions & 0 deletions globals.nix
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,8 @@ in {
# |------------------------------------| #
# Unifi Controller
hosts.HL-3-RZ-UNIFI-01.id = 31;
# Minecraft Server
hosts.HL-3-RZ-MC-01.id = 32;
};

#IoT
Expand Down
3 changes: 3 additions & 0 deletions hosts/HL-1-MRZ-HOST-03/guests.nix
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,9 @@
// mkMicrovm "unifi" "HL-3-RZ-UNIFI-01" "servers" "02:05:27:11:7f:17" "vlan40" {
enableStorageDataset = true;
}
// mkMicrovm "minecraft" "HL-3-RZ-MC-01" "servers" "03:05:27:11:7f:17" "vlan40" {
enableStorageDataset = true;
}
);
};
}
Loading

0 comments on commit 7c7fcd8

Please sign in to comment.