nixos/modules/desktop/game/wine/default.nix

24 lines
433 B
Nix
Raw Normal View History

2023-07-09 02:25:39 +04:00
{ 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
];
2023-09-05 19:32:40 +04:00
nixpkgs.config = {
wine = {
release = "unstable";
2023-09-05 19:36:52 +04:00
build = "wineWow";
2023-09-05 19:32:40 +04:00
};
};
2023-07-09 02:25:39 +04:00
};
}