mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 07:23:20 +00:00
virtualboxGuestAdditions: Add dragAndDrop service
This commit is contained in:
parent
f9966d5fb7
commit
64512b6200
@ -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";
|
||||
}
|
||||
)
|
||||
]);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user