aboutsummaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
Diffstat (limited to 'common')
-rw-r--r--common/steam.nix11
1 files changed, 11 insertions, 0 deletions
diff --git a/common/steam.nix b/common/steam.nix
new file mode 100644
index 0000000..05d2ca6
--- /dev/null
+++ b/common/steam.nix
@@ -0,0 +1,11 @@
+{ config, lib, ... }:
+{
+ nixpkgs.config.allowUnfreePredicate =
+ pkg:
+ builtins.elem (lib.getName pkg) [
+ "steam"
+ "steam-unwrapped"
+ ];
+
+ programs.steam.enable = true;
+}