This repository has no description
823 B
30 lines
1{ config, pkgs, ... }:
2
3{
4 #
5 # Steam stuff
6 # source: https://nixos.org/wiki/Talk:Steam
7 #
8 ##TODO: make steam module
9 # hardware.opengl.extraPackages32 = with pkgs.pkgsi686Linux; [ libva ];
10
11 # users.users.mainUser.packages = [ (pkgs.steam.override {
12 # extraPkgs = p: with p; [
13 # gnutls # needed for Halo MCC
14 # ];
15 # }) ];
16 environment.systemPackages = [ pkgs.steam ];
17 hardware.opengl.driSupport32Bit = true;
18
19 #ports for inhome streaming
20 krebs.iptables = {
21 tables = {
22 filter.INPUT.rules = [
23 { predicate = "-p tcp --dport 27031"; target = "ACCEPT"; }
24 { predicate = "-p tcp --dport 27036"; target = "ACCEPT"; }
25 { predicate = "-p udp --dport 27031"; target = "ACCEPT"; }
26 { predicate = "-p udp --dport 27036"; target = "ACCEPT"; }
27 ];
28 };
29 };
30}