nix-config/modules/nix/games/steam.nix
smayzy af11b7eddf
All checks were successful
nixos config pipeline / show-flake (push) Successful in 45s
nixos config pipeline / deploy (push) Successful in 9s
fmt
2026-04-30 00:50:44 +02:00

25 lines
390 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
];
};
}