mirror of
https://github.com/materusPL/nixos-config
synced 2025-06-26 18:14:25 +02:00
materusPC: mount windows disk to non vfio vm
This commit is contained in:
parent
0113129093
commit
a5199290d4
@ -175,6 +175,17 @@ in
|
|||||||
fi
|
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
|
||||||
|
|
||||||
|
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user