Skip to content

Commit

Permalink
virtualboxGuestAdditions: Add dragAndDrop service
Browse files Browse the repository at this point in the history
  • Loading branch information
FriedrichAltheide committed May 13, 2024
1 parent f9966d5 commit 64512b6
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion nixos/modules/virtualisation/virtualbox-guest.nix
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ in
description = "Whether to enable seamless mode. When activated windows from the guest appear next to the windows of the host.";
};

draganddrop = mkOption {
dragAndDrop = mkOption {
default = true;
type = types.bool;
description = "Whether to enable drag and drop support.";
Expand Down Expand Up @@ -111,5 +111,10 @@ in
systemd.user.services.virtualboxClientSeamless = mkVirtualBoxUserService "--seamless";
}
)
(
mkIf cfg.dragAndDrop {
systemd.user.services.virtualboxClientDragAndDrop = mkVirtualBoxUserService "--draganddrop";
}
)
]);
}

0 comments on commit 64512b6

Please sign in to comment.