diff --git a/flake.nix b/flake.nix index 433a397..0f4c654 100644 --- a/flake.nix +++ b/flake.nix @@ -162,6 +162,7 @@ ./nixos_modules/pro_audio.nix ./nixos_modules/sesar.nix ./nixos_modules/pentablet.nix + ./nixos_modules/steam-link.nix { home-manager.users.bertof = import ./thor/hm.nix; } ]; @@ -182,6 +183,7 @@ ./nixos_modules/pro_audio.nix ./nixos_modules/sesar.nix ./nixos_modules/pentablet.nix + ./nixos_modules/steam-link.nix { home-manager.users.bertof = import ./odin/hm.nix; } ]; diff --git a/nixos_modules/steam-link.nix b/nixos_modules/steam-link.nix new file mode 100644 index 0000000..47ce010 --- /dev/null +++ b/nixos_modules/steam-link.nix @@ -0,0 +1,6 @@ +{ + networking.firewall = { + allowedTCPPorts = [ 27036 27037 ]; + allowedUDPPorts = [ 27031 27036 ]; + }; +}