nix-config/modules/nix/games/steam.nix
smayzy f495530a86
Some checks failed
nixos config pipeline / show-flake (push) Successful in 39s
nixos config pipeline / deploy (push) Has been cancelled
add gamescope to steam
2026-07-04 13:32:23 +02:00

22 lines
371 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 gamescope ];
};
}