From b651c0fbf47f58a6b1ba0663615832dbc578ebe1 Mon Sep 17 00:00:00 2001 From: Caroline Larimore Date: Mon, 14 Apr 2025 18:08:33 -0700 Subject: migration: zenithproxy --- roles/minecraft/zenith/default.nix | 24 ------------------------ 1 file changed, 24 deletions(-) delete mode 100644 roles/minecraft/zenith/default.nix (limited to 'roles/minecraft/zenith') diff --git a/roles/minecraft/zenith/default.nix b/roles/minecraft/zenith/default.nix deleted file mode 100644 index 29cd880..0000000 --- a/roles/minecraft/zenith/default.nix +++ /dev/null @@ -1,24 +0,0 @@ -{ config, lib, pkgs, ... }: -with lib; - -let cfg = config.roles.minecraft.zenith; in { - options.roles.minecraft.zenith = { - enable = mkEnableOption "zenith proxy role"; - - port = mkOption { - type = types.port; - default = 25565; - description = "server port"; - }; - - openFirewall = mkOption { - type = types.bool; - default = true; - description = "open firewall"; - }; - }; - - config = mkIf cfg.enable { - networking.firewall.allowedTCPPorts = mkIf cfg.openFirewall [ cfg.port ]; - }; -} -- cgit v1.2.3