blob: 053b81dc5fe0eb72406327ad4826baf60088d31b (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
{ 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;
};
}
|