features/wine: added support for binfmt launching of Windows executables

This commit is contained in:
2026-10-22 12:15:07 -04:00
parent 22af0eaa9d
commit df6f5288ce
+9 -1
View File
@@ -1,5 +1,13 @@
{ pkgs, ... }:
{ pkgs, lib, ... }:
{
boot.binfmt.registrations.wine = {
recognitionType = "magic";
offset = 0;
magicOrExtension = "MZ";
interpreter = lib.getExe pkgs.wineWow64Packages.full;
wrapInterpreterInShell = false;
};
environment = {
systemPackages = with pkgs; [
wineWow64Packages.full