nix-config/modules/nix/games/steam.nix
2026-01-17 12:29:25 +01:00

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