features/wine: added support for binfmt launching of Windows executables
This commit is contained in:
+9
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user