From 6e7c745bf1ee63067ec8d1e25f2d34092b9be7f2 Mon Sep 17 00:00:00 2001 From: winter <149337190+WinterEkisha@users.noreply.github.com> Date: Sun, 25 Oct 2026 10:53:42 -0700 Subject: [PATCH] update+networking for mc server --- flake.lock | 68 ++++++++++----------- home/common/features/nvimConf.nix | 1 + hosts/common/features/servers/minecraft.nix | 4 +- 3 files changed, 37 insertions(+), 36 deletions(-) diff --git a/flake.lock b/flake.lock index e430ede..d358216 100644 --- a/flake.lock +++ b/flake.lock @@ -44,11 +44,11 @@ ] }, "locked": { - "lastModified": 1788450739, - "narHash": "sha256-glZLQlzIn1fXH6PazR2iUmTo7kzzyYSshrWhLS9TqCU=", + "lastModified": 1790898470, + "narHash": "sha256-zTwuwezD0w3hpga6a6P8emidzAZFyWqlNeRBlpWOOl8=", "owner": "hercules-ci", "repo": "flake-parts", - "rev": "31729ca8cbdb4fa927b34e5f4353e6a83f39e993", + "rev": "024633cd702b10285db5cb19b40ad48d2399ba60", "type": "github" }, "original": { @@ -80,11 +80,11 @@ }, "nix-flatpak": { "locked": { - "lastModified": 1767983141, - "narHash": "sha256-7ZCulYUD9RmJIDULTRkGLSW1faMpDlPKcbWJLYHoXcs=", + "lastModified": 1790428548, + "narHash": "sha256-OsZ/I7v3ArCrk0XOUvkiU1dFtGtE1qZTHRGjvBXIKUU=", "owner": "gmodena", "repo": "nix-flatpak", - "rev": "440818969ac2cbd77bfe025e884d0aa528991374", + "rev": "f1f045fc8b35ff59f88982c1752d3f3a42ca6a61", "type": "github" }, "original": { @@ -112,11 +112,11 @@ }, "nixpkgs-unstable": { "locked": { - "lastModified": 1790463110, - "narHash": "sha256-hKlVl12B1dF0Q5vd9dY3lIJM5mFGWYSlXwSLAqHZ1+s=", + "lastModified": 1792773339, + "narHash": "sha256-rZLrzrC6i+jnTAlvPZHogKDulY7WWDEv9hJeHieO7Zw=", "owner": "nixos", "repo": "nixpkgs", - "rev": "e158d9ed9b51c98974c5e66e1ba1c9e0255fecaa", + "rev": "3ec636362e1816bc2f0888fa0fa2c69f1bc9e504", "type": "github" }, "original": { @@ -144,11 +144,11 @@ }, "nixpkgs_3": { "locked": { - "lastModified": 1789724158, - "narHash": "sha256-nlKgrm0dsVhOSopKheVBCcOpiIticufPPVLdVOI0euA=", + "lastModified": 1791487292, + "narHash": "sha256-tqM7xDEsaeK1p6VvRygeZ9LkQRpUUkbRT02BHv6hnTM=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "0a3468a402c449992505b6a9fc5b06580141b750", + "rev": "8edc0c72e3a38faf5434e40d1f19431125fe4b30", "type": "github" }, "original": { @@ -176,11 +176,11 @@ }, "nixpkgs_5": { "locked": { - "lastModified": 1790463110, - "narHash": "sha256-VZHcT2wKLkApBCACQ2SH4P1jVZUbbOA7jWAGi1MIViw=", - "rev": "e158d9ed9b51c98974c5e66e1ba1c9e0255fecaa", + "lastModified": 1792773339, + "narHash": "sha256-17eNBI5Khe4JZaRkL5hRGPWf8MZ6qv+bWAr4V8YeKBw=", + "rev": "3ec636362e1816bc2f0888fa0fa2c69f1bc9e504", "type": "tarball", - "url": "https://releases.nixos.org/nixos/unstable/nixos-26.11pre1080189.e158d9ed9b51/nixexprs.tar.xz" + "url": "https://releases.nixos.org/nixos/unstable/nixos-26.11pre1100280.3ec636362e18/nixexprs.tar.xz" }, "original": { "type": "tarball", @@ -194,11 +194,11 @@ "systems": "systems" }, "locked": { - "lastModified": 1790541651, - "narHash": "sha256-/496IQz8qNWHHLnc3Zvr0l4uxJ34igNhJhn7ZKAefFk=", + "lastModified": 1792203519, + "narHash": "sha256-yJ072hxngo/srNdLTp4BlFeo0hedwnKicI3TGlSXLFE=", "owner": "nix-community", "repo": "nixvim", - "rev": "5980a626794486abad69fca7667f9c11dfbc3bd7", + "rev": "453dc9c5037e6d1bec81d2a51ddacd58a2f44e9c", "type": "github" }, "original": { @@ -212,11 +212,11 @@ "nixpkgs": "nixpkgs_4" }, "locked": { - "lastModified": 1790560696, - "narHash": "sha256-husp5vZlke3aLA2S1XybAd+DLaOjJkvjDnu+5gCxuks=", + "lastModified": 1792102654, + "narHash": "sha256-dNISNxw7+ehLeaA+XBJzUjV24ik6Oibce6C0RxzzZns=", "owner": "liixini", "repo": "skwd-wall", - "rev": "6720414925f36e6908e63d591d2b9ad641016860", + "rev": "d9142ad9e23bf33390e3fea38a5ce45a6fc286da", "type": "github" }, "original": { @@ -264,11 +264,11 @@ "release": "release" }, "locked": { - "lastModified": 1790547347, - "narHash": "sha256-kiiP4nkAABILqxcuMW07OsMavdu1sHPw5Y7GMGHWvsE=", + "lastModified": 1792055505, + "narHash": "sha256-iJ26vpv4KvLGvKd+Z6wQnRpNr6/V98xTyz0kB43aEXE=", "owner": "liixini", "repo": "skwd-wall", - "rev": "ed4246a13f3e31c340f9e4de00f4664d5e844c7a", + "rev": "780f2d3f53025318cbbaff1d1aa369e622e5e8fd", "type": "github" }, "original": { @@ -283,11 +283,11 @@ "systems": "systems_2" }, "locked": { - "lastModified": 1790502898, - "narHash": "sha256-eR6P8ZCyYqrdvuOANIOE78t4qqm6wSTBKLP/aW8nwJE=", + "lastModified": 1792919014, + "narHash": "sha256-gJ8uPmQFhJ98X+VWPpD+o0tnQ0nJjbG+Z3QDHcSJKw0=", "owner": "Gerg-L", "repo": "spicetify-nix", - "rev": "d508ccfa23820d032589bd65345bf5b6d9ea842f", + "rev": "f6eb8135c060130150c8fbcc6b7cf5e22e5179d8", "type": "github" }, "original": { @@ -299,11 +299,11 @@ "systems": { "flake": false, "locked": { - "lastModified": 1774449309, - "narHash": "sha256-brhZ8DmuGtzkCYHJg4HEd602amKm89Y9ytsFZ5uWD1w=", + "lastModified": 1791244623, + "narHash": "sha256-uuanbkFk8a313Zfrxdcz8Us/yQtaxNnKJtX8v0ZPpd8=", "owner": "nix-systems", "repo": "default", - "rev": "c29398b59d2048c4ab79345812849c9bd15e9150", + "rev": "d36eeed142f88b5a636f2e3856a53c61654cf29b", "type": "github" }, "original": { @@ -315,11 +315,11 @@ }, "systems_2": { "locked": { - "lastModified": 1681028828, - "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=", + "lastModified": 1791244623, + "narHash": "sha256-uuanbkFk8a313Zfrxdcz8Us/yQtaxNnKJtX8v0ZPpd8=", "owner": "nix-systems", "repo": "default", - "rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e", + "rev": "d36eeed142f88b5a636f2e3856a53c61654cf29b", "type": "github" }, "original": { diff --git a/home/common/features/nvimConf.nix b/home/common/features/nvimConf.nix index 4e9c80f..eb059da 100644 --- a/home/common/features/nvimConf.nix +++ b/home/common/features/nvimConf.nix @@ -51,6 +51,7 @@ }; clangd.enable = true; html.enable = true; + pyright.enable = true; }; }; plugins.rustaceanvim.enable = true; diff --git a/hosts/common/features/servers/minecraft.nix b/hosts/common/features/servers/minecraft.nix index 83bfd0b..2929141 100644 --- a/hosts/common/features/servers/minecraft.nix +++ b/hosts/common/features/servers/minecraft.nix @@ -9,8 +9,8 @@ }: { networking.firewall = { enable = true; - allowedTCPPorts = [ 25565 ]; - allowedUDPPorts = [ 25565 ]; + allowedTCPPorts = [ 25565 25567 ]; + allowedUDPPorts = [ 25565 25567]; }; environment.systemPackages = with pkgs; [