From ac628036a94e40d6db577f0c0f64479ee3008a50 Mon Sep 17 00:00:00 2001 From: Jan-Bulthuis Date: Mon, 2 Dec 2024 00:54:51 +0100 Subject: [PATCH] Added steam --- modules/users/modules/steam/default.nix | 2 +- modules/users/modules/systemwide/steam.nix | 10 +++++++++- 2 files changed, 10 insertions(+), 2 deletions(-) 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; + }; }