summaryrefslogtreecommitdiff
path: root/modules/nixos/steam.nix
diff options
context:
space:
mode:
authorandromeda <andromeda@lenovo>2026-01-09 23:23:07 +0100
committerandromeda <andromeda@lenovo>2026-01-09 23:23:07 +0100
commit0658c5d898d6267e23d28f60d2c32edcf85d5c06 (patch)
treedeb20f9303cacb066e4f5590442b0be08c59f226 /modules/nixos/steam.nix
parent8b79f4e825718448780383d0e535d132d7b80561 (diff)
modularise lenovo?
Diffstat (limited to 'modules/nixos/steam.nix')
-rw-r--r--modules/nixos/steam.nix10
1 files changed, 10 insertions, 0 deletions
diff --git a/modules/nixos/steam.nix b/modules/nixos/steam.nix
new file mode 100644
index 0000000..5056ea9
--- /dev/null
+++ b/modules/nixos/steam.nix
@@ -0,0 +1,10 @@
+{lib, ...}: {
+ nixpkgs.config.allowUnfreePredicate = pkg:
+ builtins.elem (lib.getName pkg) [
+ "steam"
+ "steam-original"
+ "steam-unwrapped"
+ "steam-run"
+ ];
+ programs.steam.enable = true;
+}