aboutsummaryrefslogtreecommitdiffstats
path: root/system
diff options
context:
space:
mode:
Diffstat (limited to 'system')
-rw-r--r--system/services/default.nix1
-rw-r--r--system/services/steam/default.nix12
2 files changed, 13 insertions, 0 deletions
diff --git a/system/services/default.nix b/system/services/default.nix
index 36cf9763..63f0e733 100644
--- a/system/services/default.nix
+++ b/system/services/default.nix
@@ -3,6 +3,7 @@
./printing
./nix
./snapper
+ ./steam
./dconf
./openssh
];
diff --git a/system/services/steam/default.nix b/system/services/steam/default.nix
new file mode 100644
index 00000000..916b3b15
--- /dev/null
+++ b/system/services/steam/default.nix
@@ -0,0 +1,12 @@
+# vim: ts=2
+{lib, ...}: {
+ programs.steam = {
+ enable = true;
+ };
+ nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [
+ "steam"
+ "steam-original"
+ "steam-runtime"
+ "steam-run"
+ ];
+}