1
0
Fork 0
nixos-config/nixos/machines/hera/boot.nix
2020-10-01 01:54:50 +02:00

20 lines
519 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;
};
};
}