add module for gaming
This commit is contained in:
parent
4af197d174
commit
8e907b1ad4
3 changed files with 27 additions and 1 deletions
|
|
@ -11,6 +11,7 @@ let
|
|||
boot
|
||||
core
|
||||
chromium
|
||||
gaming
|
||||
easyroam
|
||||
nautilus
|
||||
packages
|
||||
|
|
|
|||
|
|
@ -1,7 +1,6 @@
|
|||
{ ... }: {
|
||||
flake.nixosModules.programs = {
|
||||
programs.niri.enable = true;
|
||||
programs.steam.enable = true;
|
||||
programs.direnv.enable = true;
|
||||
};
|
||||
}
|
||||
|
|
|
|||
26
modules/system/programs/gaming.nix
Normal file
26
modules/system/programs/gaming.nix
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
{
|
||||
flake.nixosModules.gaming =
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
programs.steam = {
|
||||
enable = true;
|
||||
extraCompatPackages = with pkgs; [ proton-ge-bin ];
|
||||
protontricks.enable = true;
|
||||
remotePlay.openFirewall = true;
|
||||
localNetworkGameTransfers.openFirewall = true;
|
||||
};
|
||||
|
||||
programs.gamescope = {
|
||||
enable = true;
|
||||
capSysNice = true;
|
||||
enableWsi = true;
|
||||
};
|
||||
|
||||
programs.gamemode.enable = true;
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
heroic # Epic-Fassung von Rocket League (braucht GE-Proton)
|
||||
umu-launcher # Proton-Runtime für Heroic / Nicht-Steam-Games
|
||||
];
|
||||
};
|
||||
}
|
||||
Loading…
Reference in a new issue