mirror of
https://github.com/materusPL/nixos-config
synced 2026-07-02 04:36:41 +00:00
materusPC: mount windows disk to non vfio vm
This commit is contained in:
@@ -174,6 +174,17 @@ in
|
||||
|
||||
fi
|
||||
|
||||
|
||||
if [ ''$1 = "windows" ]; then
|
||||
if [ ''$2 = "prepare" ] && [ ''$3 = "begin" ]; then
|
||||
systemctl stop windows-share-mount.service
|
||||
fi
|
||||
|
||||
if [ ''$2 = "release" ] && [ ''$3 = "end" ]; then
|
||||
systemctl start windows-share-mount.service
|
||||
fi
|
||||
fi
|
||||
|
||||
|
||||
'';
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user