From deeb9d6d9d5bc81dfda0f7d2c5f248d531cefcd7 Mon Sep 17 00:00:00 2001 From: Felix Albrigtsen Date: Tue, 2 Jan 2024 17:10:38 +0100 Subject: [PATCH] defiant: More minecraft --- hosts/defiant/services/minecraft.nix | 12 ++++++++++-- secrets/defiant/defiant.yaml | 4 ++-- 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/hosts/defiant/services/minecraft.nix b/hosts/defiant/services/minecraft.nix index db4400e..1a57988 100644 --- a/hosts/defiant/services/minecraft.nix +++ b/hosts/defiant/services/minecraft.nix @@ -40,15 +40,21 @@ url = "https://cdn.modrinth.com/data/D0sHdnXY/versions/tldGNWOW/MC-Discord-Chat-2.2.5.jar"; sha256 = "sha256-WK02gRNbTjbjQSIlWHP4aBSeGTZxtXwwbqt9fa7AJTA="; }; + SimpleVoiceChat = pkgs.fetchurl { + url = "https://cdn.modrinth.com/data/9eGKb6K1/versions/UIZXn9t1/voicechat-fabric-1.20.4-2.4.32.jar"; + sha256 = "sha256-BZMK7Y8uaw1MvtQC1MXblsaaHy100a59KxSs4P0fjXE="; + }; }); }; whitelist = { - Taschmex = "a3a258b0-901f-43d9-b130-dad3b29cd7ee"; - Dandellion = "f393413b-59fc-49d7-a5c4-83a5d177132c"; "_Oblivion" = "289be565-d73e-4cb1-a047-dcc319acdc80"; Crisju = "8b77dc43-27ba-4710-bbfd-4e01e6ec7461"; + Dandellion = "f393413b-59fc-49d7-a5c4-83a5d177132c"; + Taschmex = "a3a258b0-901f-43d9-b130-dad3b29cd7ee"; + guy_montag = "cb8aa890-a5a3-41f2-9bb7-1edb20c5a31f"; koppern = "3450494c-b945-4fa2-938c-5519adec005f"; + krloer = "ab3029e2-76b6-4219-854e-16091fe5e421"; }; }; }; @@ -58,5 +64,7 @@ nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [ "minecraft-server" ]; + + networking.firewall.allowedUDPPorts = [ 24454 ]; } diff --git a/secrets/defiant/defiant.yaml b/secrets/defiant/defiant.yaml index c37f7e2..27c16c0 100644 --- a/secrets/defiant/defiant.yaml +++ b/secrets/defiant/defiant.yaml @@ -29,8 +29,8 @@ sops: RXcvQU1JYnl0bUtocTZuNkRxcGQwR2MKnyAYtF2y7XBmNuIYi6RzqEJEPPg7B22A fQVeDfIhiNSVva784KTU+y4TU1UPxumriRrLRFPF3h42ZEq2zQAgrQ== -----END AGE ENCRYPTED FILE----- - lastmodified: "2023-12-25T23:07:08Z" - mac: ENC[AES256_GCM,data:q+e4CbkTrpAl2gsiYi/cJ7v5cv6IoT/o4eBF+3IbkO36c9CWTlV0ntfTYJInhMvjWfiKaTpx0s3CzSB+WmI541zGudSraxibL7ZPdpaTO9YeODRPg5mkUe5lfEqhy1kdXeqeen+3kSUalJOzbefkZOmITBMLtYUzTOs8HW7NQqE=,iv:zbZdSXoPnJAYk8oozTsxNCZlImu+aAJlVrqzBWAKieQ=,tag:UYhIu5YN2OBYgvCEXUy5kA==,type:str] + lastmodified: "2023-12-29T22:35:52Z" + mac: ENC[AES256_GCM,data:wLuNSHMesuGxoYH4km/NkX58JcZgXCoQW5veh+wL8A3vmWg+HGkcnWLxhGPetG4fhdORkurr+/l803Y3Fq79C5C3JyMSZEI5ba9LL9SLnJsTu9B+sro6DRp0xCX8kvY/Hfl23jsg8NcJ2QoiE0eHMJ5LftSydSNPefnkzSz70UU=,iv:r8Cv2kOf2T3WwXLpDyTVDG+O6RcIhv+juIteCgR+Zlc=,tag:EoaPXCOprA5yBtnyORmXvA==,type:str] pgp: [] unencrypted_suffix: _unencrypted version: 3.8.1