nix-config/modules/nix/games/steam.nix
smayzy bf89c7cfaf
All checks were successful
nixos config pipeline / show-flake (push) Successful in 32s
nixos config pipeline / deploy (push) Successful in 50s
add protontricks
2026-04-30 00:48:20 +02:00

22 lines
374 B
Nix

{
lib,
config,
pkgs,
...
}:
let
inherit (lib) mkIf mkOption types;
in
{
options.smayzy.steam.enable = mkOption {
type = types.bool;
default = false;
description = "steam support";
};
config = mkIf config.smayzy.steam.enable {
programs.steam.enable = true;
environment.systemPackages = with pkgs; [ depotdownloader protontricks ];
};
}