virtualboxGuestAdditions: Add dragAndDrop service

This commit is contained in:
Friedrich Altheide 2024-04-12 13:01:50 +02:00
parent f9966d5fb7
commit 64512b6200

View File

@ -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.";
@ -111,5 +111,10 @@ in
systemd.user.services.virtualboxClientSeamless = mkVirtualBoxUserService "--seamless";
}
)
(
mkIf cfg.dragAndDrop {
systemd.user.services.virtualboxClientDragAndDrop = mkVirtualBoxUserService "--draganddrop";
}
)
]);
}