summaryrefslogtreecommitdiffstats
path: root/lass/2configs/steam.nix
blob: 7d088fc6aa337fd4ebee14abf3afe35f03fbb450 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
{ config, pkgs, ... }:

{

  imports = [
    ./games.nix
  ];
  #
  # Steam stuff
  # source: https://nixos.org/wiki/Talk:Steam
  #
  ##TODO: make steam module
  hardware.opengl.driSupport32Bit = true;

  nixpkgs.config.steam.java = true;
  environment.systemPackages = with pkgs; [
    steam
  ];
  networking.firewall = {
    allowedUDPPorts = [
      27031
      27036
    ];
    allowedTCPPorts = [
      27036
      27037
    ];
  };

}