NOflake/extras/gaming.nix

59 lines
1.3 KiB
Nix
Raw Normal View History

2025-06-30 19:47:18 -07:00
{pkgs, ...}: {
2025-06-18 00:31:22 -07:00
# aagl.url = "github:ezKEa/aagl-gtk-on-nix";
# aagl.inputs.nixpkgs.follows = "nixpkgs";
2024-04-09 10:06:48 -07:00
2025-07-30 17:45:40 -07:00
services.lsfg-vk = {
enable = true;
ui.enable = true;
};
2025-06-18 00:31:22 -07:00
environment.systemPackages = with pkgs; [
2025-11-05 00:58:59 -08:00
# keep-sorted start
2025-06-18 00:31:22 -07:00
# parsec-bin
# yuzu # nintendo can suck the shit out of my asshole
2025-11-05 00:58:59 -08:00
easyeffects
2025-06-18 00:31:22 -07:00
gamemode
2025-11-05 00:58:59 -08:00
graalvmPackages.graalvm-ce
2025-06-18 00:31:22 -07:00
heroic
lutris
mangohud
2025-11-05 00:58:59 -08:00
osu-lazer-bin
2025-06-18 00:31:22 -07:00
prismlauncher
protonup-qt
r2modman
temurin-jre-bin-17
2025-11-05 00:58:59 -08:00
wine
# keep-sorted end
2025-06-18 00:31:22 -07:00
];
2023-11-01 02:14:15 -07:00
2025-05-12 00:46:29 -07:00
networking.firewall.allowedTCPPorts = [25565];
2024-06-01 17:07:25 -07:00
2025-05-12 00:46:29 -07:00
programs.steam = {
enable = true;
# remotePlay.openFirewall = true;
# gamescopeSession.enable = false;
};
programs.gamemode.enable = true;
programs.gamescope.enable = true;
2023-07-11 00:38:39 -07:00
2025-05-12 00:46:29 -07:00
security.pam.loginLimits = [
2024-03-23 01:24:31 -07:00
{
2025-05-12 00:46:29 -07:00
domain = "@game";
type = "-";
item = "nice";
value = -20;
2024-03-23 01:24:31 -07:00
}
2025-05-12 00:46:29 -07:00
];
security.sudo-rs.extraRules = [
{
commands = [
{
command = "${pkgs.systemd}/bin/bootctl set-oneshot auto-windows";
options = ["NOPASSWD"];
}
];
groups = ["wheel"];
}
];
2023-07-11 00:38:39 -07:00
}