Files
nix/modules/nixos/bootloader.nix
2024-11-09 20:55:43 +02:00

27 lines
481 B
Nix

{ config, pkgs, ... }:
{
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'';
};
boot.supportedFilesystems = [ "ntfs" ];
boot.loader = {
efi = {
canTouchEfiVariables = true;
};
grub = {
efiSupport = true;
device = "nodev";
};
};
}