From 378b4d09f02a0b0c70a340bb0acde516b5fb4d14 Mon Sep 17 00:00:00 2001
From: lassulus <lassulus@lassul.us>
Date: Mon, 14 Oct 2019 15:39:42 +0200
Subject: [PATCH] l steam: install only as games user

---
 lass/2configs/steam.nix | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/lass/2configs/steam.nix b/lass/2configs/steam.nix
index e1b523e3a..701e5047e 100644
--- a/lass/2configs/steam.nix
+++ b/lass/2configs/steam.nix
@@ -11,9 +11,8 @@
   #
   ##TODO: make steam module
   nixpkgs.config.steam.java = true;
-  environment.systemPackages = with pkgs; [
-    steam
-  ];
+
+  users.users.games.packages = [ pkgs.steam ];
 
   #ports for inhome streaming
   krebs.iptables = {