Files
2026-10-23 17:59:24 -04:00

24 lines
485 B
Nix

{ pkgs, lib, ... }:
{
boot.binfmt.registrations.wine = {
recognitionType = "magic";
offset = 0;
magicOrExtension = "MZ";
interpreter = lib.getExe pkgs.wineWow64Packages.full;
wrapInterpreterInShell = false;
fixBinary = true;
};
environment = {
systemPackages = with pkgs; [
wineWow64Packages.full
winetricks
];
sessionVariables = {
WINE = "${pkgs.wineWow64Packages.full}/bin/.wine";
WINEDEBUG = "-all";
};
};
}