Add AppImage support.
This commit is contained in:
parent
1d0cbcd92c
commit
b3c9c2bf03
1 changed files with 9 additions and 0 deletions
9
base.nix
9
base.nix
|
@ -17,4 +17,13 @@
|
|||
];
|
||||
|
||||
environment.variables.EDITOR = "vim";
|
||||
|
||||
boot.binfmt.registrations.appimage = {
|
||||
wrapInterpreterInShell = false;
|
||||
interpreter = "${pkgs.appimage-run}/bin/appimage-run";
|
||||
recognitionType = "magic";
|
||||
offset = 0;
|
||||
mask = ''\xff\xff\xff\xff\x00\x00\x00\x00\xff\xff\xff'';
|
||||
magicOrExtension = ''\x7fELF....AI\x02'';
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue