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

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";
};
};
};
}