mirror of
https://github.com/kaesaecracker/nixos-configuration.git
synced 2025-01-18 18:40:14 +01:00
add xpadneo to gaming
This commit is contained in:
parent
d1af4262c3
commit
3aff0c255b
|
@ -9,13 +9,18 @@ in {
|
||||||
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 = {
|
hardware = {
|
||||||
|
opengl = {
|
||||||
driSupport = true;
|
driSupport = true;
|
||||||
driSupport32Bit = true;
|
driSupport32Bit = true;
|
||||||
extraPackages = with pkgs; [mangohud];
|
extraPackages = with pkgs; [mangohud];
|
||||||
extraPackages32 = with pkgs; [mangohud];
|
extraPackages32 = with pkgs; [mangohud];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
steam-hardware.enable = true;
|
||||||
|
xpadneo.enable = true;
|
||||||
|
};
|
||||||
|
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
wineWowPackages.stagingFull
|
wineWowPackages.stagingFull
|
||||||
wineWowPackages.fonts
|
wineWowPackages.fonts
|
||||||
|
@ -35,8 +40,6 @@ in {
|
||||||
})
|
})
|
||||||
];
|
];
|
||||||
|
|
||||||
hardware.steam-hardware.enable = true;
|
|
||||||
|
|
||||||
programs = {
|
programs = {
|
||||||
xwayland.enable = true;
|
xwayland.enable = true;
|
||||||
steam = {
|
steam = {
|
||||||
|
|
Loading…
Reference in a new issue