blob: 053b81dc5fe0eb72406327ad4826baf60088d31b (
plain) (
tree)
|
|
{ pkgs, config, lib, ... }:
{
boot = {
loader = {
# Use the systemd-boot EFI boot loader.
systemd-boot.enable = true;
# Prohibits gaining root access by passing init=/bin/sh as a kernel parameter
boot.loader.systemd-boot.editor = false;
efi.canTouchEfiVariables = true;
};
kernelPackages = pkgs.linuxPackages_latest;
tmpOnTmpfs = true;
};
}
|