nixos/modules/desktop/game/wine/default.nix
2023-09-05 19:36:52 +04:00

23 lines
433 B
Nix

{ outputs, options, config, lib, pkgs, ...}:
with lib;
let
cfg = config.modules.desktop.game.wine;
in
{
options.modules.desktop.game.wine = {
enable = mkEnableOption false;
};
config = mkIf cfg.enable {
users.users.sako.packages = with pkgs; [
winetricks
wineWowPackages.staging
];
nixpkgs.config = {
wine = {
release = "unstable";
build = "wineWow";
};
};
};
}