nix-config/nixos/modules/steam.nix
Tim Schubert 02bcc3ede9
Some checks failed
Continuous Integration / Checks (push) Has been cancelled
fix: deprecations
2025-07-27 17:19:13 +02:00

25 lines
380 B
Nix

{
config,
pkgs,
lib,
...
}:
with lib;
let
cfg = config.dadada.steam;
in
{
options = {
dadada.steam = {
enable = mkEnableOption "Enable Steam config";
};
};
config = mkIf cfg.enable {
hardware.graphics = {
enable = true;
extraPackages32 = with pkgs.pkgsi686Linux; [ libva ];
};
hardware.pulseaudio.support32Bit = true;
};
}