fix all the shits
This commit is contained in:
parent
c15f7a253f
commit
5c2458a905
12 changed files with 70 additions and 29 deletions
39
modules/desktop/core/gaming.nix
Normal file
39
modules/desktop/core/gaming.nix
Normal file
|
|
@ -0,0 +1,39 @@
|
|||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}: let
|
||||
inherit (lib.modules) mkIf;
|
||||
inherit (lib.options) mkEnableOption;
|
||||
|
||||
cfg = config.core.gaming;
|
||||
in {
|
||||
|
||||
options.core.gaming = {
|
||||
enable = mkEnableOption "Config and Utils for gaming";
|
||||
};
|
||||
config = mkIf cfg.enable {
|
||||
environment = {
|
||||
systemPackages = with pkgs; [
|
||||
scanmem
|
||||
protonup-qt
|
||||
wine
|
||||
winetricks
|
||||
discord
|
||||
];
|
||||
};
|
||||
|
||||
programs = {
|
||||
steam = {
|
||||
enable=true;
|
||||
remotePlay.openFirewall = lib.mkDefault true;
|
||||
localNetworkGameTransfers.openFirewall = lib.mkDefault true;
|
||||
extest.enable = lib.mkDefault true;
|
||||
protontricks.enable = lib.mkDefault true;
|
||||
};
|
||||
|
||||
gamemode.enable = true;
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue