2015-07-16 13:51:01 +00:00
|
|
|
{ config, pkgs, ... }:
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
imports = [
|
|
|
|
./games.nix
|
|
|
|
];
|
|
|
|
#
|
|
|
|
# Steam stuff
|
|
|
|
# source: https://nixos.org/wiki/Talk:Steam
|
|
|
|
#
|
|
|
|
##TODO: make steam module
|
2015-07-17 08:33:11 +00:00
|
|
|
nixpkgs.config.steam.java = true;
|
2020-01-11 19:49:33 +00:00
|
|
|
hardware.opengl.extraPackages32 = with pkgs.pkgsi686Linux; [ libva ];
|
2019-10-14 13:39:42 +00:00
|
|
|
|
|
|
|
users.users.games.packages = [ pkgs.steam ];
|
2015-10-01 20:13:40 +00:00
|
|
|
|
|
|
|
#ports for inhome streaming
|
|
|
|
krebs.iptables = {
|
2015-09-05 09:56:49 +00:00
|
|
|
tables = {
|
|
|
|
filter.INPUT.rules = [
|
|
|
|
{ predicate = "-p tcp --dport 27031"; target = "ACCEPT"; }
|
|
|
|
{ predicate = "-p tcp --dport 27036"; target = "ACCEPT"; }
|
|
|
|
{ predicate = "-p udp --dport 27031"; target = "ACCEPT"; }
|
|
|
|
{ predicate = "-p udp --dport 27036"; target = "ACCEPT"; }
|
|
|
|
];
|
|
|
|
};
|
2015-07-16 13:51:01 +00:00
|
|
|
};
|
|
|
|
}
|