diff options
author | jeschli <jeschli@gmail.com> | 2018-08-21 19:45:50 +0200 |
---|---|---|
committer | jeschli <jeschli@gmail.com> | 2018-08-21 19:45:50 +0200 |
commit | b4d91d71037eadf8cf8f67b2f9d3d524ff900484 (patch) | |
tree | 98de7ef3ceb8cc188c1249924bab51027e1da48b /jeschli/2configs/steam.nix | |
parent | e5f2d7d71b4ef29b81ad5781b1953a95ce1daef9 (diff) |
j brauerei: +steam
Diffstat (limited to 'jeschli/2configs/steam.nix')
-rw-r--r-- | jeschli/2configs/steam.nix | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/jeschli/2configs/steam.nix b/jeschli/2configs/steam.nix new file mode 100644 index 0000000..4d2d66c --- /dev/null +++ b/jeschli/2configs/steam.nix @@ -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"; } + ]; + }; + }; +} |