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