dotfiles/hosts/strix/gaming.nix

45 lines
923 B
Nix
Raw Permalink Normal View History

2024-04-28 11:35:35 +02:00
{ pkgs, config, ... }:
{
environment.systemPackages = with pkgs; [
2024-08-29 18:25:03 +02:00
prismlauncher
2024-04-28 11:35:35 +02:00
heroic
(lutris.override {
extraPkgs = pkgs: [
pkgs.winePackages.base
2024-12-05 07:02:26 +01:00
pkgs.wget
pkgs.mesa
2024-04-28 11:35:35 +02:00
];
})
2024-12-05 07:02:26 +01:00
pysolfc
mangohud
2024-04-28 11:35:35 +02:00
];
# enabling java for mc
programs.java = {
enable = true;
package = pkgs.jdk17;
};
2024-04-28 11:35:35 +02:00
# steam
# To add another drive:
# 1. open steam steam://open/console in browser
# 2. library_folder_add "/path/to/drive"
2024-04-28 11:35:35 +02:00
programs.steam.enable = true;
2024-12-05 07:02:26 +01:00
programs.gamemode.enable = true;
programs.gamemode.settings = {
general = {
renice = 10;
desiredgov = "performance";
};
# gpu = {
# apply_gpu_optimisations = "accept-responsibility";
# gpu_device = 0;
# };
custom = {
start = "${pkgs.libnotify}/bin/notify-send 'GAYMING'";
end = "${pkgs.libnotify}/bin/notify-send 'GAYMING OVER'";
};
};
2024-04-28 11:35:35 +02:00
}