Skip to content

Commit

Permalink
modules/gamescope: drop in favor of programs.{gamescope,steam.gamesco…
Browse files Browse the repository at this point in the history
…peSession}
  • Loading branch information
PedroHLC committed Jul 12, 2023
1 parent d71a7db commit 8d3b46f
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 174 deletions.
12 changes: 0 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -108,18 +108,6 @@ nix run github:chaotic-cx/nyx/nyxpkgs-unstable#input-leap_git
# None of these are in their default value, showing you what kinda of change is possible.
{
chaotic.appmenu-gtk3-module.enable = true;
chaotic.gamescope = {
enable = true;
package = pkgs.gamescope_git;
args = [ "--rt" "--prefer-vk-device 8086:9bc4" ];
env = { "__GLX_VENDOR_LIBRARY_NAME" = "nvidia"; };
session = {
enable = true;
args = [ "--rt" ];
env = { };
steamArgs = [ "-tenfoot" "-pipewire-dmabuf" ];
};
};
chaotic.linux_hdr.specialisation.enable = true;
chaotic.mesa-git.enable = true;
chaotic.mesa-git.extraPackages = [ pkgs.mesa_git.opencl ];
Expand Down
1 change: 0 additions & 1 deletion modules/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
let
modulesPerFile = {
appmenu-gtk3-module = import ./appmenu-gtk3-module.nix fromFlakes;
gamescope = import ./gamescope.nix fromFlakes;
linux_hdr = import ./linux_hdr.nix fromFlakes;
mesa_git = import ./mesa-git.nix fromFlakes;
nyx-cache = import ./nyx-cache.nix fromFlakes;
Expand Down
123 changes: 0 additions & 123 deletions modules/gamescope.nix

This file was deleted.

5 changes: 4 additions & 1 deletion modules/linux_hdr.nix
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,10 @@ in
DXVK_HDR = "1";
ENABLE_GAMESCOPE_WSI = "1";
};
chaotic.gamescope.session.args = [ "--hdr-enabled" ];
programs.steam.gamescopeSession = {
enable = true; # HDR can't be used with other WM right now...
args = [ "--hdr-enabled" ];
};
};
};
};
Expand Down
37 changes: 0 additions & 37 deletions pkgs/gamescope-wrapped/default.nix

This file was deleted.

1 comment on commit 8d3b46f

@github-actions
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All packages were built and cached successfully!

Please sign in to comment.