mynixos-config/config/graphical/steam.nix
2024-11-26 13:34:55 +01:00

21 lines
359 B
Nix

{
lib,
config,
pkgs,
...
}:
{
config = lib.mkIf config.graphical.gaming.enable {
programs.steam = {
enable = true;
package = pkgs.steam.override {
extraPkgs =
pkgs: with pkgs; [
# add packages here in case any game needs them...
];
};
};
programs.gamemode.enable = true;
};
}