Add ports and update diphda

This commit is contained in:
Ethan Simmons
2026-01-25 12:44:02 -06:00
parent f8ef7b91b6
commit 5e63cd8d6e
5 changed files with 32 additions and 26 deletions
+5 -4
View File
@@ -2,11 +2,11 @@
description = "NixOS configuration";
inputs = {
nixpkgs-stable.url = "github:nixos/nixpkgs/nixos-24.11";
nixpkgs-stable.url = "github:nixos/nixpkgs/nixos-25.11";
nixpkgs-unstable.url = "github:nixos/nixpkgs/nixos-unstable";
home-manager-stable.url = "github:nix-community/home-manager/release-24.11";
home-manager-stable.url = "github:nix-community/home-manager/release-25.11";
home-manager-stable.inputs.nixpkgs.follows = "nixpkgs-stable";
home-manager-unstable.url = "github:nix-community/home-manager";
@@ -141,6 +141,7 @@
options = {
laptop = {
enable = true;
powersave.enable = true;
backlight.enable = true;
};
@@ -223,8 +224,8 @@
networking = {
firewall = {
allowedTCPPorts = [ 80 443 3000 3843 4533 5030 6600 6722 7474 7878 8000 8080 8081 8083 8089 8096 8120 8181 8443 8787 8889 8902 8989 8998 9000 9091 9696 11112 13378 24454 25565 25600 50300 ];
allowedUDPPorts = [ 3478 10001 ];
allowedTCPPorts = [ 80 443 3000 3843 4533 5030 6600 6722 7474 7878 8000 8080 8081 8083 8089 8096 8120 8181 8443 8787 8889 8902 8989 8998 9000 9091 9696 11112 13378 24454 25565 25600 42420 50300 ];
allowedUDPPorts = [ 2456 2457 2458 3478 10001 42420 ];
};
};
};