mirror of
https://github.com/nix-community/disko.git
synced 2026-11-30 21:13:28 +01:00
Implement preMountHook & postMountHook
These options previously existed but had no effect. Now they are implemented. They only affect mount during disko’s filesystem creation, not during any later mounts. Adding test case to existing “complex” example and test mostly because couldn’t think of any better place to put it.
This commit is contained in:
1 parent
01ec6024d6
commit
2d7d77878c
3 files changed
+15
-2
No files matched your search
@@ -110,6 +110,9 @@
|
||||
mountOptions = [
|
||||
"defaults"
|
||||
];
|
||||
postMountHook = ''
|
||||
touch /mnt/ext4_on_lvm/file-from-postMountHook
|
||||
'';
|
||||
};
|
||||
};
|
||||
raid1 = {
|
||||
|
||||
Reference in new issue
Block a user