2025-11-17 04:54:15 -05:00
|
|
|
{
|
|
|
|
|
config,
|
|
|
|
|
lib,
|
|
|
|
|
pkgs,
|
|
|
|
|
...
|
|
|
|
|
}:
|
|
|
|
|
|
|
|
|
|
{
|
|
|
|
|
imports = [ ];
|
|
|
|
|
|
|
|
|
|
options.me = {
|
|
|
|
|
wine.enable = lib.mkOption {
|
|
|
|
|
type = lib.types.bool;
|
|
|
|
|
default = false;
|
|
|
|
|
example = true;
|
|
|
|
|
description = "Whether we want to install wine.";
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
config = lib.mkIf (config.me.wine.enable && config.me.graphical) {
|
|
|
|
|
environment.systemPackages = with pkgs; [
|
|
|
|
|
# wineWowPackages.stable # supports 32 + 64 bit
|
2026-07-18 14:49:47 -04:00
|
|
|
wineWow64Packages.waylandFull # Supports 32 + 64 bit with native wayland support.
|
2025-11-17 04:54:15 -05:00
|
|
|
# winetricks
|
|
|
|
|
];
|
|
|
|
|
};
|
|
|
|
|
}
|