Machines/SurfaceGo: use systemd initrd
This commit is contained in:
parent
af5251bf42
commit
44e2429b4c
1 changed files with 16 additions and 12 deletions
|
|
@ -5,19 +5,23 @@
|
|||
{ config, pkgs, lib, ... }:
|
||||
|
||||
{
|
||||
# Use grub boot loader
|
||||
boot.loader = {
|
||||
systemd-boot.enable = false;
|
||||
grub = {
|
||||
enable = true;
|
||||
device = "nodev";
|
||||
efiSupport = true;
|
||||
enableCryptodisk = true;
|
||||
};
|
||||
efi = {
|
||||
efiSysMountPoint = "/boot/efi";
|
||||
canTouchEfiVariables = true;
|
||||
boot = {
|
||||
loader = {
|
||||
# Use grub boot loader
|
||||
systemd-boot.enable = false;
|
||||
grub = {
|
||||
enable = true;
|
||||
device = "nodev";
|
||||
efiSupport = true;
|
||||
enableCryptodisk = true;
|
||||
};
|
||||
efi = {
|
||||
efiSysMountPoint = "/boot/efi";
|
||||
canTouchEfiVariables = true;
|
||||
};
|
||||
};
|
||||
# I need systemd for tpm luks unlocking
|
||||
initrd.systemd.enable = true;
|
||||
};
|
||||
|
||||
security.tpm2.enable = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue