diff --git a/modules/users/modules/steam/default.nix b/modules/users/modules/steam/default.nix index 01f3021..c71a984 100644 --- a/modules/users/modules/steam/default.nix +++ b/modules/users/modules/steam/default.nix @@ -10,4 +10,4 @@ with lib; options.modules.steam = { enable = mkEnableOption "steam"; }; -} +} \ No newline at end of file diff --git a/modules/users/modules/systemwide/steam.nix b/modules/users/modules/systemwide/steam.nix index e101129..8e62f0a 100644 --- a/modules/users/modules/systemwide/steam.nix +++ b/modules/users/modules/systemwide/steam.nix @@ -10,5 +10,13 @@ let enabled = any (user: user.modules.steam.enable) (attrValues config.home-manager.users); in { - config = mkIf enabled { programs.steam.enable = true; }; + config = mkIf enabled { + modules.unfree.allowedPackages = [ + "steam" + "steam-original" + "steam-unwrapped" + ]; + + programs.steam.enable = true; + }; }