1
1
Fork 1
mirror of https://github.com/oddlama/nixos-extra-modules.git synced 2025-10-10 22:00:39 +02:00

wip: add comment on fixing file system oopsie

This commit is contained in:
oddlama 2024-01-18 13:14:57 +01:00
parent cbd79751a0
commit 35a5d08c3e
No known key found for this signature in database
GPG key ID: 14EFE510775FE39A
2 changed files with 5 additions and 1 deletions

View file

@ -51,6 +51,7 @@
then disko.zfs.filesystem zfsCfg.hostMountpoint
else disko.zfs.unmountable;
}));
# Add the required fileSystems for shared folders
fileSystems = mkMerge (flip map (attrValues guestCfg.zfs) (zfsCfg: {
${zfsCfg.hostMountpoint} = {
@ -281,6 +282,9 @@ in {
"d /guests 0700 root root -"
];
fileSystems =
# for guests filter zfs shared, group by mountpoint, fold and add dependencies.
assertions = flatten (flip mapAttrsToList config.guests (
guestName: guestCfg:
flip mapAttrsToList guestCfg.zfs (