diff --git a/features/wine.nix b/features/wine.nix index c562b5d..8e127de 100644 --- a/features/wine.nix +++ b/features/wine.nix @@ -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