{ lib, ... }: { options.modules.mounts.usb = let inherit (lib) mkOption types; in { enable = mkOption { default = false; type = types.bool; }; withSamba = mkOption { default = false; type = types.bool; }; name = mkOption { default = null; type = types.str; }; shareName = mkOption { default = "usb"; type = types.str; }; device = mkOption { default = null; type = types.str; }; extraOptions = with types; mkOption { default = [ ]; type = listOf str; }; }; }