disko2: Add code generator for disko config type

There are still two issues: The type of "topology" in zpool is not
created, and gpt_partitions_options_hybrid_options for some reason
contains a `_create: "_create"` entry. This is an issue with the nix
evaluation, though, not with the code generator.

I'm fixing these issues manually to have some state I can start working
from.
This commit is contained in:
Felix Uhl committed 2024-11-17 15:08:26 +01:00
1 parent 08ec11ae1b
commit a0e8f7f587
4 files changed
+543

No files matched your search

+3
View File
@@ -99,6 +99,9 @@
(python3.withPackages (ps: [
ps.mypy # Static type checker
ps.pytest # Test runner
# Actual runtime depedencies
ps.pydantic # Validation of nixos configuration
]))
]);
};