ooknet/modules/nixos/workstation/gaming/steam.nix

17 lines
305 B
Nix

{
lib,
config,
pkgs,
...
}: let
inherit (lib) mkIf elem;
inherit (config.ooknet.workstation) profiles;
in {
config = mkIf (elem "gaming" profiles) {
programs.steam = {
enable = true;
package = pkgs.steam-small;
extraCompatPackages = [pkgs.proton-ge-bin];
};
};
}