j brauerei: +steam

This commit is contained in:
jeschli 2018-08-21 19:45:50 +02:00
parent dbbf237393
commit 7f53d51c0a
2 changed files with 23 additions and 0 deletions

View File

@ -8,6 +8,7 @@
<stockholm/jeschli/2configs/emacs.nix> <stockholm/jeschli/2configs/emacs.nix>
<stockholm/jeschli/2configs/xdg.nix> <stockholm/jeschli/2configs/xdg.nix>
<stockholm/jeschli/2configs/xserver> <stockholm/jeschli/2configs/xserver>
<stockholm/jeschli/2configs/steam.nix>
<stockholm/jeschli/2configs/virtualbox.nix> <stockholm/jeschli/2configs/virtualbox.nix>
]; ];

View File

@ -0,0 +1,22 @@
{ config, pkgs, ... }:
{
nixpkgs.config.steam.java = true;
environment.systemPackages = with pkgs; [
steam
];
hardware.opengl.driSupport32Bit = true;
#ports for inhome streaming
krebs.iptables = {
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"; }
];
};
};
}