Files
nixos-config/modules/boot.nix
T
2026-09-10 13:31:28 +02:00

25 lines
434 B
Nix

{ ... }:
{
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
boot.plymouth.enable = true;
boot.initrd.systemd.enable = true;
boot.kernelParams = [
"quiet"
"splash"
];
boot.consoleLogLevel = 3;
boot.initrd.verbose = false;
boot.initrd.luks.devices."cryptroot" = {
device = "/dev/disk/by-partlabel/luks";
};
fileSystems."/".device = "/dev/mapper/cryptroot";
}