muscari: fix disk-config.nix size 100%FREE -> 100% (disko 1.13 compat)
Disko 1.13.0+ rejects "100%FREE" in favor of "100%". Earlier commit139e5f3(from agent 'isogonalconguate') had this fix but got dropped during the agent-garbage cleanup (commit430252ais GRUB switch,5e1b369is systemd-boot,99b887eis original disko). This brings the fix back, with cleaned-up comments that reflect current reality (GRUB bootloader, BIOS mode). Session: verify plan
This commit is contained in:
parent
430252a4c7
commit
231f9d5dcf
1 changed files with 6 additions and 4 deletions
|
|
@ -1,9 +1,11 @@
|
|||
# disk-config.nix для muscari — Yandex Cloud VM
|
||||
# YC VM из образа Debian 12: один диск /dev/vda (virtio scsi), GPT
|
||||
# Используем disko для переформатирования под NixOS одну EFI + root
|
||||
# Используем disko для переформатирования под NixOS:
|
||||
# - 512M ESP (vfat) для /boot — не используется в BIOS mode (GRUB ставит в MBR),
|
||||
# но если когда-нибудь переключимся на UEFI, раздел будет готов
|
||||
# - остальное → ext4 root
|
||||
#
|
||||
# NB: extlinux (не grub) — YC использует MBR для legacy BIOS boot
|
||||
# YC поддерживает и EFI, и BIOS — выбираем extlinux для совместимости с образом
|
||||
# Bootloader: GRUB (BIOS mode, см. hosts/muscari/default.nix)
|
||||
|
||||
{ lib, ... }:
|
||||
{
|
||||
|
|
@ -26,7 +28,7 @@
|
|||
};
|
||||
root = {
|
||||
name = "root";
|
||||
size = "100%FREE";
|
||||
size = "100%"; # disko 1.13+ требует "100%" вместо "100%FREE"
|
||||
content = {
|
||||
type = "filesystem";
|
||||
format = "ext4";
|
||||
|
|
|
|||
Loading…
Reference in a new issue