diff --git a/configurations/host/materusPC/vm/win-vfio/default.nix b/configurations/host/materusPC/vm/win-vfio/default.nix index 36d9e09..610c5cc 100644 --- a/configurations/host/materusPC/vm/win-vfio/default.nix +++ b/configurations/host/materusPC/vm/win-vfio/default.nix @@ -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 + ''; };