Files
nixos-configs/hosts/pinwheel/modules/boot/default.nix
2023-11-14 17:20:55 +01:00

22 lines
358 B
Nix

{ pkgs, ... }:
{
boot = {
kernelPackages = pkgs.linuxPackages_latest;
kernel = {
sysctl = {
"fs.inotify.max_user_instances" = 1024; # default: 128
};
};
loader = {
systemd-boot.enable = true;
efi.canTouchEfiVariables = true;
};
initrd.secrets = {
"/crypto_keyfile.bin" = null;
};
};
}