example: add comments as warning about legacy table type

Just did the mistake to copy and paste one legacy table type example.
Ran into the warning and was a bit sad.

Adding these comments while referring to the documentation could help
some undercaffeinated disko users like me.
This commit is contained in:
lennart authored and Michael Hoang committed 2026-01-18 09:19:06 +00:00
1 parent 916506443e
commit 558e84658d
3 files changed
+15

No files matched your search

+5
View File
@@ -1,3 +1,8 @@
# This example with the legacy table should not be used. We recommend using the
# gpt type instead. More information about this warning may be found in the
# documentation.
#
# https://github.com/nix-community/disko/blob/master/docs/table-to-gpt.md
{
disko.devices = {
disk = {
+5
View File
@@ -1,3 +1,8 @@
# This example with the legacy table should not be used. We recommend using the
# gpt type instead. More information about this warning may be found in the
# documentation.
#
# https://github.com/nix-community/disko/blob/master/docs/table-to-gpt.md
{
disko.devices = {
disk = {
+5
View File
@@ -1,3 +1,8 @@
# This example with the legacy table should not be used. We recommend using the
# gpt type instead. More information about this warning may be found in the
# documentation.
#
# https://github.com/nix-community/disko/blob/master/docs/table-to-gpt.md
{
pkgs,
lib,