From ca7627163efecd8ae64b31eb164053e723572d30 Mon Sep 17 00:00:00 2001 From: Dmitriy Kholkin Date: Mon, 30 May 2022 19:31:10 +0300 Subject: [PATCH] add polymc --- flake.lock | 72 ++++++++++++++++++++++++++++++ flake.nix | 4 ++ profiles/applications/packages.nix | 1 + profiles/network.nix | 2 +- profiles/overlay.nix | 1 + 5 files changed, 79 insertions(+), 1 deletion(-) diff --git a/flake.lock b/flake.lock index 925d499..c1c8416 100644 --- a/flake.lock +++ b/flake.lock @@ -114,6 +114,22 @@ "type": "github" } }, + "flake-compat_2": { + "flake": false, + "locked": { + "lastModified": 1648199409, + "narHash": "sha256-JwPKdC2PoVBkG6E+eWw3j6BMR6sL3COpYWfif7RVb8Y=", + "owner": "edolstra", + "repo": "flake-compat", + "rev": "64a525ee38886ab9028e6f61790de0832aa3ef03", + "type": "github" + }, + "original": { + "owner": "edolstra", + "repo": "flake-compat", + "type": "github" + } + }, "flake-utils": { "locked": { "lastModified": 1652557277, @@ -183,6 +199,22 @@ "type": "github" } }, + "libnbtplusplus": { + "flake": false, + "locked": { + "lastModified": 1591558203, + "narHash": "sha256-QgvNvaoFflCXEPCCFBCeZvYTpuiwScBG7EosUgFwFNQ=", + "owner": "multimc", + "repo": "libnbtplusplus", + "rev": "dc72a20b7efd304d12af2025223fad07b4b78464", + "type": "github" + }, + "original": { + "owner": "multimc", + "repo": "libnbtplusplus", + "type": "github" + } + }, "lowdown-src": { "flake": false, "locked": { @@ -464,6 +496,29 @@ "type": "github" } }, + "polymc": { + "inputs": { + "flake-compat": "flake-compat_2", + "libnbtplusplus": "libnbtplusplus", + "nixpkgs": [ + "nixpkgs" + ], + "quazip": "quazip" + }, + "locked": { + "lastModified": 1653268165, + "narHash": "sha256-f7y9fJrK/kVu4t/6BpRCvgZabD5c+bwHgdyCJBDtUkQ=", + "owner": "AquaVirus", + "repo": "PolyMC-Cracked", + "rev": "7191b8edd8c7334ae0da279f018dc1d39ea05c00", + "type": "github" + }, + "original": { + "owner": "AquaVirus", + "repo": "PolyMC-Cracked", + "type": "github" + } + }, "qbittorrent-ee": { "flake": false, "locked": { @@ -480,6 +535,22 @@ "type": "github" } }, + "quazip": { + "flake": false, + "locked": { + "lastModified": 1643049383, + "narHash": "sha256-LcJY6yd6GyeL7X5MP4L94diceM1TYespWByliBsjK98=", + "owner": "stachenov", + "repo": "quazip", + "rev": "09ec1d10c6d627f895109b21728dda000cbfa7d1", + "type": "github" + }, + "original": { + "owner": "stachenov", + "repo": "quazip", + "type": "github" + } + }, "root": { "inputs": { "arkenfox-userjs": "arkenfox-userjs", @@ -497,6 +568,7 @@ "nixpkgs-stable": "nixpkgs-stable", "nixpkgs-wayland": "nixpkgs-wayland", "nur": "nur", + "polymc": "polymc", "qbittorrent-ee": "qbittorrent-ee", "rycee": "rycee", "simple-nixos-mailserver": "simple-nixos-mailserver", diff --git a/flake.nix b/flake.nix index 24e2dac..6e011f5 100644 --- a/flake.nix +++ b/flake.nix @@ -49,6 +49,10 @@ flake = false; }; nur.url = github:nix-community/NUR; + polymc = { + url = "github:AquaVirus/PolyMC-Cracked"; + inputs.nixpkgs.follows = "nixpkgs"; + }; qbittorrent-ee = { url = "github:c0re100/qBittorrent-Enhanced-Edition"; flake = false; diff --git a/profiles/applications/packages.nix b/profiles/applications/packages.nix index 29d6e8a..61e834a 100644 --- a/profiles/applications/packages.nix +++ b/profiles/applications/packages.nix @@ -88,6 +88,7 @@ with config.deviceSpecific; { multimc lutris obs-studio + polymc reshade-shaders # (retroarch.override { cores = [ libretro.genesis-plus-gx ]; }) protontricks diff --git a/profiles/network.nix b/profiles/network.nix index 63631e1..4a4e6de 100644 --- a/profiles/network.nix +++ b/profiles/network.nix @@ -34,7 +34,7 @@ with config.deviceSpecific; firewall = { enable = true; allowPing = true; - allowedTCPPorts = lib.mkIf isServer [ 22 ]; + allowedTCPPorts = lib.mkIf isGaming [ 25565 ]; }; usePredictableInterfaceNames = true; diff --git a/profiles/overlay.nix b/profiles/overlay.nix index 23e84bc..4eb5357 100644 --- a/profiles/overlay.nix +++ b/profiles/overlay.nix @@ -16,6 +16,7 @@ with lib; { # inputs.nixpkgs-wayland.overlay inputs.nix-alien.overlay inputs.nur.overlay + inputs.polymc.overlay roundcube-plugins (self: super: rec {