10 lines
204 B
Nix
Raw Normal View History

2024-07-18 13:48:49 +02:00
{ lib, config, pkgs, ... }:
with lib;
let
enabled = any (user: user.modules.steam.enable) (attrValues config.home-manager.users);
in {
config = mkIf enabled {
programs.steam.enable = true;
};
}