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:
parent
cbd79751a0
commit
35a5d08c3e
2 changed files with 5 additions and 1 deletions
|
@ -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 (
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue