summary refs log tree commit diff stats
path: root/system/modules/gaming.nix
diff options
context:
space:
mode:
authorAlan Pearce2019-10-08 21:44:57 +0200
committerAlan Pearce2019-10-08 21:44:57 +0200
commit0a50d682ec85bf023bebd68a3ca388001f0c0677 (patch)
tree3f725c5a36633ec5b59df37f156a03ee2a971656 /system/modules/gaming.nix
parent40fd4964068d0b7628b6f699dab4aec200eadb0a (diff)
downloadnixfiles-0a50d682ec85bf023bebd68a3ca388001f0c0677.tar.lz
nixfiles-0a50d682ec85bf023bebd68a3ca388001f0c0677.tar.zst
nixfiles-0a50d682ec85bf023bebd68a3ca388001f0c0677.zip
mv modules settings
Diffstat (limited to 'system/modules/gaming.nix')
-rw-r--r--system/modules/gaming.nix27
1 files changed, 0 insertions, 27 deletions
diff --git a/system/modules/gaming.nix b/system/modules/gaming.nix
deleted file mode 100644
index 0dbc5b12..00000000
--- a/system/modules/gaming.nix
+++ /dev/null
@@ -1,27 +0,0 @@
-{ config, pkgs, ... }:
-
-{
-  hardware.steam-hardware.enable = true;
-  hardware.opengl.driSupport32Bit = true;
-  hardware.pulseaudio.support32Bit = true;
-
-  systemd = {
-    extraConfig = ''
-      DefaultLimitNOFILE=524288
-    '';
-    user.extraConfig = ''
-      DefaultLimitNOFILE=524288
-    '';
-  };
-
-  networking.firewall = {
-    allowedUDPPorts = [
-      27031
-      27036
-    ];
-    allowedTCPPorts = [
-      27036
-      27037
-    ];
-  };
-}