summaryrefslogtreecommitdiff
path: root/system/gaming
diff options
context:
space:
mode:
Diffstat (limited to 'system/gaming')
-rw-r--r--system/gaming/steam.nix13
1 files changed, 6 insertions, 7 deletions
diff --git a/system/gaming/steam.nix b/system/gaming/steam.nix
index ada0aaf..2364291 100644
--- a/system/gaming/steam.nix
+++ b/system/gaming/steam.nix
@@ -7,12 +7,12 @@
cfg = config.gaming.steam;
in {
config = mkIf cfg.enable {
- nixpkgs.config.allowUnfreePredicate = pkg:
- builtins.elem (lib.getName pkg) [
- "steam"
- "steam-original"
- "steam-runtime"
- ];
+ unfreePackages = [
+ "steam"
+ "steam-original"
+ "steam-runtime"
+ "steam-unwrapped"
+ ];
programs.gamescope = {
enable = true;
@@ -28,7 +28,6 @@ in {
};
# controllers
- hardware.xone.enable = true;
hardware.steam-hardware.enable = true;
# cod