1
0
Fork 0
nixos-config/nixos/machines/hera/boot.nix
Malte Brandy 57123b08e1 Reformat
2022-03-08 02:42:46 +01:00

18 lines
511 B
Nix

{pkgs, ...}: {
m-0.server.initSSHKey = pkgs.privatePath "hera-boot-ssh-key";
boot = {
loader.grub = {
enable = true;
version = 2;
device = "/dev/disk/by-id/scsi-0QEMU_QEMU_HARDDISK_drive-scsi0";
};
supportedFilesystems = ["exfat"];
kernelParams = ["ip=213.136.94.190::213.136.94.1:255.255.255.0:hera"];
initrd.luks.devices.root = {
device = "/dev/disk/by-uuid/536fe284-36f2-425c-b0c5-a737280f9470";
preLVM = true;
allowDiscards = true;
};
};
}