about summary refs log tree commit diff stats
path: root/modules/by-name/st/steam
diff options
context:
space:
mode:
Diffstat (limited to 'modules/by-name/st/steam')
-rw-r--r--modules/by-name/st/steam/module.nix14
1 files changed, 11 insertions, 3 deletions
diff --git a/modules/by-name/st/steam/module.nix b/modules/by-name/st/steam/module.nix
index 49149cd7..6c589f2d 100644
--- a/modules/by-name/st/steam/module.nix
+++ b/modules/by-name/st/steam/module.nix
@@ -4,20 +4,28 @@
   pkgs,
   ...
 }: let
-  cfg = config.soispha.services.steam;
+  cfg = config.soispha.programs.steam;
 in {
-  options.soispha.services.steam = {
+  options.soispha.programs.steam = {
     enable = lib.mkEnableOption "Steam";
   };
 
   config = lib.mkIf cfg.enable {
+    nixpkgs.config.allowUnfreePredicate = pkg:
+      builtins.elem (lib.getName pkg) [
+        "steam"
+        "steam-unwrapped"
+        "steam-original"
+        "steam-run"
+      ];
+
     programs.steam = {
       enable = true;
     };
 
     environment.systemPackages = [
       # TODO: Why is this package needed? <2024-05-16>
-      pkgs.wineWowPackages.waylandFull
+      # pkgs.wineWowPackages.waylandFull
     ];
   };
 }