3 ms·
> Note that the author used disko to partition the disk declaratively. Disko won't work for a machine with very limited ram, because disko run in the installer,
by dicytea 1y ago
> Note that the author used disko to partition the disk declaratively. Disko won't work for a machine with very limited ram, because disko run in the installer, and needs to install tools to the ram to do the partition.
This is only true if you use the disko-install tool, which is a horrible footgun[^1]. The safest approach is to just use the default disko command, then nixos-install.
[^1]: https://github.com/nix-community/disko/issues/947 https://github.com/nix-community/disko/issues/947
- hgl 1y agoThanks for bringing the disko command to my attention. However, since we are talking about installing NixOS declaratively, and it's done through nixos-anywhere, which will install it[0] to the ram unfortunately. [0]: https://github.com/nix-community/nixos-anywhere/blob/abb0d72e1036d4485508643b37ca7c4d6d5306a8/src/nixos-anywhere.sh#L710 https://github.com/nix-community/nixos-anywhere/blob/abb0d72...