chore: rm gamescope for now
This commit is contained in:
parent
e80227fad6
commit
b7b64a4774
1 changed files with 1 additions and 21 deletions
|
@ -10,10 +10,6 @@ let
|
||||||
cfg = config."${moduleName}";
|
cfg = config."${moduleName}";
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
imports = [
|
|
||||||
inputs.nix-gaming.nixosModules.platformOptimizations
|
|
||||||
];
|
|
||||||
|
|
||||||
options = {
|
options = {
|
||||||
"${moduleName}" = {
|
"${moduleName}" = {
|
||||||
steam = {
|
steam = {
|
||||||
|
@ -24,23 +20,7 @@ in
|
||||||
|
|
||||||
config = lib.mkMerge [
|
config = lib.mkMerge [
|
||||||
(lib.mkIf cfg.steam.enable {
|
(lib.mkIf cfg.steam.enable {
|
||||||
programs = {
|
programs.steam.enable = true;
|
||||||
steam = {
|
|
||||||
enable = true;
|
|
||||||
remotePlay.openFirewall = true; # Open ports in the firewall for Steam Remote Play
|
|
||||||
protontricks.enable = true;
|
|
||||||
dedicatedServer.openFirewall = true; # Open ports in the firewall for Source Dedicated Server
|
|
||||||
localNetworkGameTransfers.openFirewall = true; # Open ports in the firewall for Steam Local Network Game Transfers
|
|
||||||
gamescopeSession.enable = true;
|
|
||||||
extraCompatPackages = with pkgs; [ proton-ge-bin ];
|
|
||||||
platformOptimizations.enable = true;
|
|
||||||
};
|
|
||||||
gamescope = {
|
|
||||||
enable = true;
|
|
||||||
capSysNice = true;
|
|
||||||
};
|
|
||||||
gamemode.enable = true;
|
|
||||||
};
|
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
steam-run
|
steam-run
|
||||||
wineWowPackages.stable
|
wineWowPackages.stable
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue