nixos/modules/desktop/game/wine/default.nix
2024-08-01 16:24:09 +04:00

22 lines
431 B
Nix

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