diff --git a/nixos/modules/services/networking/strongswan-swanctl/swanctl-params.nix b/nixos/modules/services/networking/strongswan-swanctl/swanctl-params.nix
index ad211f41eef0..e65616332640 100644
--- a/nixos/modules/services/networking/strongswan-swanctl/swanctl-params.nix
+++ b/nixos/modules/services/networking/strongswan-swanctl/swanctl-params.nix
@@ -938,9 +938,12 @@ in {
protection.
'';
- hw_offload = mkYesNoParam no ''
+ hw_offload = mkEnumParam ["yes" "no" "auto"] "no" ''
Enable hardware offload for this CHILD_SA, if supported by the IPsec
- implementation.
+ implementation. The value yes enforces offloading
+ and the installation will fail if it's not supported by either kernel or
+ device. The value auto enables offloading, if it's
+ supported, but the installation does not fail otherwise.
'';
start_action = mkEnumParam ["none" "trap" "start"] "none" ''