devices.vps9: use gpt partition

This commit is contained in:
2025-11-09 14:06:45 +08:00
parent c9697260b1
commit e9694dd177
2 changed files with 3 additions and 3 deletions

View File

@@ -13,7 +13,7 @@ let devices =
};
vps4."/dev/disk/by-uuid/bf7646f9-496c-484e-ada0-30335da57068" = { mapper = "root"; ssd = true; };
vps6."/dev/disk/by-uuid/961d75f0-b4ad-4591-a225-37b385131060" = { mapper = "root"; ssd = true; };
vps9."/dev/vda2" = { mapper = "root"; ssd = true; };
vps9."/dev/disk/by-partlabel/vps9-root" = { mapper = "root"; ssd = true; };
};
in
{

View File

@@ -6,19 +6,19 @@ inputs:
{
system =
{
# TODO: use uuid after udev works
fileSystems =
{
mount =
{
btrfs =
{
"/dev/vda1"."/boot" = "/boot";
"/dev/disk/by-partlabel/vps9-boot"."/boot" = "/boot";
"/dev/mapper/root" = { "/nix" = "/nix"; "/nix/rootfs/current" = "/"; };
};
};
swap = [ "/nix/swap/swap" ];
};
# TODO: use by-path after install
grub.installDevice = "/dev/vda";
nixpkgs.march = "znver3";
initrd.sshd = {};