mirror of
https://github.com/kaesaecracker/nixos-configuration.git
synced 2025-01-18 18:40:14 +01:00
explicitly install dxvk
This commit is contained in:
parent
04c82ccd99
commit
82ae5a89fc
|
@ -6,17 +6,22 @@
|
||||||
}: let
|
}: let
|
||||||
isEnabled = config.my.desktop.enableGaming;
|
isEnabled = config.my.desktop.enableGaming;
|
||||||
in {
|
in {
|
||||||
imports = [];
|
|
||||||
|
|
||||||
options.my.desktop.enableGaming = lib.mkEnableOption "gaming with wine";
|
options.my.desktop.enableGaming = lib.mkEnableOption "gaming with wine";
|
||||||
|
|
||||||
config = lib.mkIf isEnabled {
|
config = lib.mkIf isEnabled {
|
||||||
hardware.opengl.driSupport32Bit = true;
|
hardware.opengl = {
|
||||||
|
driSupport32Bit = true;
|
||||||
|
extraPackages = with pkgs; [mangohud];
|
||||||
|
extraPackages32 = with pkgs; [mangohud];
|
||||||
|
};
|
||||||
|
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
wineWowPackages.stagingFull
|
wineWowPackages.stagingFull
|
||||||
wineWowPackages.fonts
|
wineWowPackages.fonts
|
||||||
winetricks
|
winetricks
|
||||||
|
dxvk
|
||||||
|
mangohud
|
||||||
|
vulkan-tools
|
||||||
|
|
||||||
(lutris.override {
|
(lutris.override {
|
||||||
extraPkgs = pkgs: [
|
extraPkgs = pkgs: [
|
||||||
|
@ -29,10 +34,11 @@ in {
|
||||||
];
|
];
|
||||||
|
|
||||||
programs = {
|
programs = {
|
||||||
|
xwayland.enable = true;
|
||||||
steam = {
|
steam = {
|
||||||
enable = true;
|
enable = true;
|
||||||
remotePlay.openFirewall = true; # Open ports in the firewall for Steam Remote Play
|
remotePlay.openFirewall = true;
|
||||||
dedicatedServer.openFirewall = true; # Open ports in the firewall for Source Dedicated Server
|
dedicatedServer.openFirewall = true;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
@ -11,6 +11,7 @@ in {
|
||||||
config = lib.mkIf isEnabled {
|
config = lib.mkIf isEnabled {
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
radeontop
|
radeontop
|
||||||
|
amdvlk
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue