dotfiles/user-modules/systemwide/steam.nix

22 lines
313 B
Nix
Raw Normal View History

2024-07-19 12:00:55 +00:00
{
lib,
config,
...
}:
2024-07-18 11:48:49 +00:00
with lib;
let
enabled = any (user: user.modules.steam.enable) (attrValues config.home-manager.users);
2024-07-19 12:00:55 +00:00
in
{
2024-12-01 23:54:51 +00:00
config = mkIf enabled {
modules.unfree.allowedPackages = [
"steam"
"steam-original"
"steam-unwrapped"
];
programs.steam.enable = true;
};
2024-07-19 12:00:55 +00:00
}