marleyos/modules/nixos/programs/steam/default.nix

21 lines
321 B
Nix
Raw Normal View History

2025-01-19 15:09:31 -08:00
{
config,
lib,
pkgs,
...
}: let
cfg = config.marleyos.programs.steam;
in {
options.marleyos.programs.steam.enable = lib.mkEnableOption "steam";
config = lib.mkIf cfg.enable {
programs.steam = {
enable = true;
extraCompatPackages = with pkgs; [
proton-ge-bin
];
};
};
}