forked from hswaw/hscloud
cluster/machines/dcr01s24: pivot to lvm root and efi boot
Change-Id: I2df08a0ff7366607781421e6fe8c0ddce86e57a5 Reviewed-on: https://gerrit.hackerspace.pl/c/hscloud/+/1781 Reviewed-by: q3k <q3k@hackerspace.pl>master
parent
f47d359a28
commit
ac4f99e2e1
|
@ -10,8 +10,27 @@ rec {
|
|||
system.stateVersion = "19.09";
|
||||
nix.maxJobs = 48;
|
||||
|
||||
boot.loader.grub.device = "/dev/disk/by-id/ata-Samsung_SSD_860_EVO_250GB_S3YJNF0M717009H";
|
||||
fileSystems."/".device = "/dev/disk/by-uuid/fc5c6456-5bbd-4b9e-a93e-7f9073ffe09a";
|
||||
fileSystems."/".device = "/dev/vg-nixos-hscloud/nixos-root";
|
||||
|
||||
fileSystems."/boot1" =
|
||||
{ device = "/dev/disk/by-partuuid/b56dc8da-4242-4a23-91f7-32d7600ddde9";
|
||||
fsType = "vfat";
|
||||
};
|
||||
fileSystems."/boot2" =
|
||||
{ device = "/dev/disk/by-partuuid/a0102b04-15ac-4077-a6ae-bbe9ea4a9a2d";
|
||||
fsType = "vfat";
|
||||
};
|
||||
boot.loader.systemd-boot.enable = false;
|
||||
boot.loader.efi.canTouchEfiVariables = true;
|
||||
boot.loader.grub = {
|
||||
enable = true;
|
||||
version = 2;
|
||||
efiSupport = true;
|
||||
mirroredBoots = [
|
||||
{ devices = [ "nodev" ]; path = "/boot1"; efiSysMountPoint = "/boot1"; }
|
||||
{ devices = [ "nodev" ]; path = "/boot2"; efiSysMountPoint = "/boot2"; }
|
||||
];
|
||||
};
|
||||
|
||||
hscloud.base = {
|
||||
mgmtIf = "enp130s0f0";
|
||||
|
|
Loading…
Reference in New Issue