Skip to content

Commit 6b0044e

Browse files
committed
Merge remote-tracking branch 'origin/main' into helix-2024-12-18
2 parents 546f987 + 12cc41d commit 6b0044e

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

hosts/nixos/gaming/configuration.nix

+13
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,9 @@ in {
8383
modesetting.enable = true;
8484
open = true; # use nvidia driver switch this to true to use nouveau open source driver
8585

86+
# https://github.com/NixOS/nixpkgs/blob/d0797a04b81caeae77bcff10a9dde78bc17f5661/pkgs/os-specific/linux/nvidia-x11/default.nix#L48-L77
87+
package = config.boot.kernelPackages.nvidiaPackages.beta;
88+
8689
# persistencedSha256 = lib.fakeSha256;
8790

8891
# Doesn't boot with kde plasma6 on 6.11.5 kernel version
@@ -442,6 +445,16 @@ in {
442445
127.0.0.1 rewind.dev.c4er.com
443446
'';
444447

448+
# Firewall ports only for Nebula VPN users
449+
firewall.interfaces."nebula1".allowedTCPPorts = [
450+
34197 # Factorio
451+
];
452+
453+
# Firewall ports only for Nebula VPN users
454+
firewall.interfaces."nebula1".allowedUDPPorts = [
455+
34197 # Factorio
456+
];
457+
445458
# Open ports in the firewall.
446459
firewall.allowedTCPPorts = [
447460
# sunshine

0 commit comments

Comments
 (0)