NOflake/extras/gaming.nix
2024-03-23 15:31:16 -07:00

39 lines
817 B
Nix

{pkgs, ...}: {
# { pkgs, aagl, ... }: {
# imports = [ aagl.nixosModules.default ];
# nix.settings = aagl.nixConfig;
# programs.honkers-railway-launcher.enable = true;
# nixpkgs.config.permittedInsecurePackages = [
# "electron-24.8.6"
# # "electron-12.2.3"
# ];
environment.systemPackages = with pkgs; [
# parsec-bin
gamemode
heroic
lutris
mangohud
prismlauncher
protonup
wine
# yuzu # nintendo can suck the shit out of my asshole
];
programs.steam = {
enable = true;
remotePlay.openFirewall = true;
gamescopeSession.enable = false;
};
programs.gamemode.enable = true;
programs.gamescope.enable = true;
security.pam.loginLimits = [
{
domain = "@game";
type = "-";
item = "nice";
value = -20;
}
];
}