14 lines
388 B
Nix
14 lines
388 B
Nix
{pkgs, ...}: {
|
|
# enable flatpaks
|
|
services.flatpak.enable = true;
|
|
|
|
# enable appimages
|
|
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'';
|
|
};
|
|
}
|