fixed issues and added vulkan stuff and java

This commit is contained in:
Tyler Kelley 2024-01-20 22:33:57 -06:00
parent c895539af7
commit d7acf8e959
2 changed files with 3 additions and 5 deletions

View File

@ -1,4 +1,4 @@
{ pkgs, config, lib, ... }:
{ pkgs, config, lib, deviceProfile, ... }:
lib.mkIf ("${deviceProfile}" == "amd-desktop") {
# Steam Configuration
@ -6,6 +6,5 @@ lib.mkIf ("${deviceProfile}" == "amd-desktop") {
enable = true;
remotePlay.openFirewall = true;
dedicatedServer.openFirewall = true;
package = pkgs.steam.override { withJava = true; };
};
}

View File

@ -1,4 +1,4 @@
{ pkgs, config, lib, ... }:
{ pkgs, config, lib, deviceProfile, ... }:
lib.mkIf ("${deviceProfile}" == "intel-laptop") {
# Steam Configuration
@ -8,8 +8,7 @@ lib.mkIf ("${deviceProfile}" == "intel-laptop") {
dedicatedServer.openFirewall = true;
package = pkgs.steam.override {
withPrimus = true;
withJava = true;
extraPkgs = pkgs: [ bumblebee glxinfo ];
extraPkgs = pkgs: [ pkgs.bumblebee pkgs.glxinfo ];
};
};
}