Added steam

This commit is contained in:
Jan-Bulthuis 2024-12-02 00:54:51 +01:00
parent 28eb24c658
commit ac628036a9
2 changed files with 10 additions and 2 deletions

View File

@ -10,4 +10,4 @@ with lib;
options.modules.steam = { options.modules.steam = {
enable = mkEnableOption "steam"; enable = mkEnableOption "steam";
}; };
} }

View File

@ -10,5 +10,13 @@ let
enabled = any (user: user.modules.steam.enable) (attrValues config.home-manager.users); enabled = any (user: user.modules.steam.enable) (attrValues config.home-manager.users);
in in
{ {
config = mkIf enabled { programs.steam.enable = true; }; config = mkIf enabled {
modules.unfree.allowedPackages = [
"steam"
"steam-original"
"steam-unwrapped"
];
programs.steam.enable = true;
};
} }