System Gen9 @ 2026-03-28-17:19:27 by jonas@harbor

This commit is contained in:
2026-03-28 17:19:29 +01:00
parent 2675e4077e
commit 3570ff6b5d
3 changed files with 9 additions and 4 deletions

View File

@@ -1,4 +1,4 @@
{
{inputs, ...}: {
flake.nixosModules.minecraft-server = {
config,
pkgs,
@@ -21,7 +21,14 @@
enable = lib.mkEnableOption "Enable BMC3 server";
};
imports = [
inputs.nix-minecraft.nixosModules.minecraft-servers
];
config = lib.mkIf cfg.enable {
nixpkgs.overlays = [
inputs.nix-minecraft.overlay
];
services.minecraft-servers = {
enable = true;
eula = true;