Skip to content

Commit b614407

Browse files
committed
Clipboard by default
1 parent 1e20f92 commit b614407

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

virtualbox-image.nix

+4-3
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
# This is copied from nixpkgs just with the following changes:
44
# - an added port forward
5-
# - removed usbehci because even the windows vbox installer doesn't install everything that is necessary
6-
# for USB > 1 support.
5+
# - removed usbehci
6+
# - added bidirectional clipboard
77
with lib;
88

99
let
@@ -79,7 +79,8 @@ in {
7979
--audiocontroller ac97 --audio alsa --audioout on \
8080
--rtcuseutc on \
8181
--usb on --mouse usbtablet \
82-
--natpf1 "signingapi,tcp,,9467,,9467"
82+
--natpf1 "signingapi,tcp,,9467,,9467" \
83+
--clipboard bidirectional
8384
VBoxManage storagectl "$vmName" --name SATA --add sata --portcount 4 --bootable on --hostiocache on
8485
VBoxManage storageattach "$vmName" --storagectl SATA --port 0 --device 0 --type hdd \
8586
--medium disk.vmdk

0 commit comments

Comments
 (0)