45 lines
923 B
Nix
Executable file
45 lines
923 B
Nix
Executable file
{ pkgs, config, ... }:
|
|
{
|
|
|
|
environment.systemPackages = with pkgs; [
|
|
prismlauncher
|
|
heroic
|
|
(lutris.override {
|
|
extraPkgs = pkgs: [
|
|
pkgs.winePackages.base
|
|
pkgs.wget
|
|
pkgs.mesa
|
|
];
|
|
})
|
|
pysolfc
|
|
mangohud
|
|
];
|
|
# enabling java for mc
|
|
programs.java = {
|
|
enable = true;
|
|
package = pkgs.jdk17;
|
|
};
|
|
|
|
# steam
|
|
# To add another drive:
|
|
# 1. open steam steam://open/console in browser
|
|
# 2. library_folder_add "/path/to/drive"
|
|
programs.steam.enable = true;
|
|
|
|
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'";
|
|
};
|
|
};
|
|
}
|