From a7ffc641eba87da0ffb4135c2086e41ce2b7d26b Mon Sep 17 00:00:00 2001 From: Sakooooo <78461130+Sakooooo@users.noreply.github.com> Date: Sat, 16 Sep 2023 14:02:37 +0400 Subject: [PATCH] Revert "attempt to use wine stable to see if grapejuice will work" This reverts commit 0fa11770989dae347c39cf09caa1e5e2c3522b35. --- modules/desktop/game/wine/default.nix | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/modules/desktop/game/wine/default.nix b/modules/desktop/game/wine/default.nix index 453cec89..a3b307d0 100644 --- a/modules/desktop/game/wine/default.nix +++ b/modules/desktop/game/wine/default.nix @@ -1,14 +1,9 @@ -{ - outputs, - options, - config, - lib, - pkgs, - ... -}: -with lib; let +{ outputs, options, config, lib, pkgs, ...}: +with lib; +let cfg = config.modules.desktop.game.wine; -in { +in +{ options.modules.desktop.game.wine = { enable = mkEnableOption false; }; @@ -16,7 +11,13 @@ in { config = mkIf cfg.enable { users.users.sako.packages = with pkgs; [ winetricks - wineWowPackages.stable + wineWowPackages.staging ]; + nixpkgs.config = { + wine = { + release = "unstable"; + build = "wineWow"; + }; + }; }; }