2020-12-04 23:35:51 +00:00
|
|
|
{ config, pkgs, ... }:
|
|
|
|
|
|
|
|
{
|
|
|
|
boot = {
|
2021-10-12 20:48:36 +00:00
|
|
|
kernelParams = [ "console=tty1" ];
|
2023-06-06 00:51:11 +00:00
|
|
|
tmp.cleanOnBoot = true;
|
2024-01-23 00:44:52 +00:00
|
|
|
|
|
|
|
loader.efi.canTouchEfiVariables = false;
|
|
|
|
loader.grub = {
|
|
|
|
enable = true;
|
|
|
|
efiSupport = true;
|
|
|
|
efiInstallAsRemovable = true;
|
|
|
|
device = "nodev";
|
|
|
|
};
|
|
|
|
|
2021-10-12 20:48:36 +00:00
|
|
|
initrd.luks.devices."${config.networking.hostName}" = {
|
|
|
|
name = config.networking.hostName;
|
|
|
|
device = "/dev/disk/by-uuid/74b7cded-e9f8-432f-b694-5bea09635168";
|
|
|
|
preLVM = true;
|
|
|
|
allowDiscards = true;
|
|
|
|
};
|
2020-12-04 23:35:51 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
fileSystems = {
|
|
|
|
"/boot".options = [ "noatime" ];
|
|
|
|
"/".options = [ "noatime" ];
|
|
|
|
};
|
|
|
|
}
|