docs: add overview

This commit is contained in:
oddlama 2024-01-11 19:59:27 +01:00
parent c55f465ba1
commit 4744a2844c
No known key found for this signature in database
GPG key ID: 14EFE510775FE39A
4 changed files with 133 additions and 27 deletions

View file

@ -46,7 +46,7 @@
defineGuest = _guestName: guestCfg: {
# Add the required datasets to the disko configuration of the machine
disko.devices.zpool = mkMerge (flip map (attrValues guestCfg.zfs) (zfsCfg: {
${zfsCfg.pool}.datasets.${zfsCfg.dataset} = disko.filesystem zfsCfg.hostMountpoint;
${zfsCfg.pool}.datasets.${zfsCfg.dataset} = disko.zfs.filesystem zfsCfg.hostMountpoint;
}));
# Ensure that the zfs dataset exists before it is mounted.