nixos-conf/gaming.nix

18 lines
313 B
Nix
Raw Normal View History

{ config, pkgs, ... }:
{
assertions = [
{
assertion = config.services.xserver.enable;
message = "Gaming does not work without a desktop!";
}
];
programs = {
steam = {
enable = true;
extraCompatPackages = [ pkgs.proton-ge-bin ];
};
gamemode.enable = true;
};
}