mirror of
https://github.com/Unkn0wnCat/dotfiles.git
synced 2025-05-15 16:36:37 +02:00
Add gaming-specific options
This commit is contained in:
parent
a10e43fcdf
commit
8f737a3622
3 changed files with 17 additions and 7 deletions
7
nixos/modules/gaming/helpers.nix
Normal file
7
nixos/modules/gaming/helpers.nix
Normal file
|
@ -0,0 +1,7 @@
|
|||
{pkgs, ...}:
|
||||
{
|
||||
environment.systemPackages = with pkgs; [
|
||||
mangohud
|
||||
];
|
||||
programs.gamemode.enable = true;
|
||||
}
|
8
nixos/modules/gaming/steam.nix
Normal file
8
nixos/modules/gaming/steam.nix
Normal file
|
@ -0,0 +1,8 @@
|
|||
{pkgs, ...}:
|
||||
{
|
||||
programs.steam = {
|
||||
enable = true;
|
||||
remotePlay.openFirewall = true; # Open ports in the firewall for Steam Remote Play
|
||||
dedicatedServer.openFirewall = true; # Open ports in the firewall for Source Dedicated Server
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue